products
Query product
Returns a single product and its purchasable variants for the checkout
surface. {id} accepts a product id or slug. Uses POST because the request
body carries the shop, locale negotiation, and session context under
metadata — here metadata.fluid_shop is the full host (e.g.
acme.fluid.app), unlike the bare subdomain used in create_cart /
send_magic_link. Public — no bearer token is required. Note the error
envelope: this operation’s 404 (product not found) uses the legacy
{ status: "fail", data: { error } } shape, whereas its 422 — and every
other operation on this surface — uses the standard ErrorResponse
({ error_message, errors, meta }), so a uniform error parser must
special-case this 404.
POST
/
api
/
checkout
/
v2026-04
/
products
/
{id}
Query product
curl --request POST \
--url https://api.fluid.app/api/checkout/v2026-04/products/{id} \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"fluid_shop": "acme.fluid.app",
"fluid_locale": "en"
}
}
'import requests
url = "https://api.fluid.app/api/checkout/v2026-04/products/{id}"
payload = { "metadata": {
"fluid_shop": "acme.fluid.app",
"fluid_locale": "en"
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({metadata: {fluid_shop: 'acme.fluid.app', fluid_locale: 'en'}})
};
fetch('https://api.fluid.app/api/checkout/v2026-04/products/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/checkout/v2026-04/products/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'metadata' => [
'fluid_shop' => 'acme.fluid.app',
'fluid_locale' => 'en'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/checkout/v2026-04/products/{id}"
payload := strings.NewReader("{\n \"metadata\": {\n \"fluid_shop\": \"acme.fluid.app\",\n \"fluid_locale\": \"en\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/checkout/v2026-04/products/{id}")
.header("Content-Type", "application/json")
.body("{\n \"metadata\": {\n \"fluid_shop\": \"acme.fluid.app\",\n \"fluid_locale\": \"en\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/products/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"metadata\": {\n \"fluid_shop\": \"acme.fluid.app\",\n \"fluid_locale\": \"en\"\n }\n}"
response = http.request(request)
puts response.read_body{
"metadata": {
"fluid_locale": "<string>",
"fluid_session": "<string>",
"fluid_shop": "<string>",
"request_uuid": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"product": {
"canonical_url": "<string>",
"cv": "<string>",
"cv_in_currency": "<string>",
"external_id": "<string>",
"id": 123,
"image_path": "<string>",
"image_url": "<string>",
"introduction": "<string>",
"metadata": {},
"metafields": [
{
"id": 123,
"namespace": "<string>",
"key": "<string>",
"value": "<string>",
"value_type": "<string>",
"description": "<string>",
"owner_type": "<string>",
"owner_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metafield_definition": {
"id": 123,
"company_id": 123,
"namespace": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"value_type": "<string>",
"validation_rules": {},
"owner_resource": "<string>",
"pinned": true,
"position": 123,
"locked": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"list_type": true,
"reference_type": true,
"supported_validations": [
"<string>"
],
"validation_description": "<string>",
"category_ids": [
123
]
}
}
],
"price": "<string>",
"price_in_currency": "<string>",
"sku": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"title": "<string>"
},
"status": 123,
"subscription_plans": [
{
"id": 123,
"name": "<string>",
"billing_interval": 123,
"billing_frequency_in_words": "<string>",
"shipping_interval": 123,
"volume_interval": 123,
"trial_period": 123,
"trial_period_unit": "<string>",
"split_volume": true,
"allow_skipping": true,
"max_skips": 123,
"allow_max_billing_cycles": true,
"max_billing_cycles": 123,
"price_adjustment_type": "<string>",
"price_adjustment_amount": 123,
"savings_display_mode": "<string>",
"active": true,
"company_default": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"products_count": 123,
"subscribers_count": 123
}
],
"variants": [
{
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
]
}
]
}{
"status": "fail",
"data": {
"error": "<string>"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Path Parameters
Product ID or slug
Body
application/json
Show child attributes
Show child attributes
⌘I
Query product
curl --request POST \
--url https://api.fluid.app/api/checkout/v2026-04/products/{id} \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {
"fluid_shop": "acme.fluid.app",
"fluid_locale": "en"
}
}
'import requests
url = "https://api.fluid.app/api/checkout/v2026-04/products/{id}"
payload = { "metadata": {
"fluid_shop": "acme.fluid.app",
"fluid_locale": "en"
} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({metadata: {fluid_shop: 'acme.fluid.app', fluid_locale: 'en'}})
};
fetch('https://api.fluid.app/api/checkout/v2026-04/products/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/checkout/v2026-04/products/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'metadata' => [
'fluid_shop' => 'acme.fluid.app',
'fluid_locale' => 'en'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/checkout/v2026-04/products/{id}"
payload := strings.NewReader("{\n \"metadata\": {\n \"fluid_shop\": \"acme.fluid.app\",\n \"fluid_locale\": \"en\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/checkout/v2026-04/products/{id}")
.header("Content-Type", "application/json")
.body("{\n \"metadata\": {\n \"fluid_shop\": \"acme.fluid.app\",\n \"fluid_locale\": \"en\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/checkout/v2026-04/products/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"metadata\": {\n \"fluid_shop\": \"acme.fluid.app\",\n \"fluid_locale\": \"en\"\n }\n}"
response = http.request(request)
puts response.read_body{
"metadata": {
"fluid_locale": "<string>",
"fluid_session": "<string>",
"fluid_shop": "<string>",
"request_uuid": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
},
"product": {
"canonical_url": "<string>",
"cv": "<string>",
"cv_in_currency": "<string>",
"external_id": "<string>",
"id": 123,
"image_path": "<string>",
"image_url": "<string>",
"introduction": "<string>",
"metadata": {},
"metafields": [
{
"id": 123,
"namespace": "<string>",
"key": "<string>",
"value": "<string>",
"value_type": "<string>",
"description": "<string>",
"owner_type": "<string>",
"owner_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metafield_definition": {
"id": 123,
"company_id": 123,
"namespace": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"value_type": "<string>",
"validation_rules": {},
"owner_resource": "<string>",
"pinned": true,
"position": 123,
"locked": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"list_type": true,
"reference_type": true,
"supported_validations": [
"<string>"
],
"validation_description": "<string>",
"category_ids": [
123
]
}
}
],
"price": "<string>",
"price_in_currency": "<string>",
"sku": "<string>",
"tax": "<string>",
"tax_in_currency": "<string>",
"title": "<string>"
},
"status": 123,
"subscription_plans": [
{
"id": 123,
"name": "<string>",
"billing_interval": 123,
"billing_frequency_in_words": "<string>",
"shipping_interval": 123,
"volume_interval": 123,
"trial_period": 123,
"trial_period_unit": "<string>",
"split_volume": true,
"allow_skipping": true,
"max_skips": 123,
"allow_max_billing_cycles": true,
"max_billing_cycles": 123,
"price_adjustment_type": "<string>",
"price_adjustment_amount": 123,
"savings_display_mode": "<string>",
"active": true,
"company_default": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"products_count": 123,
"subscribers_count": 123
}
],
"variants": [
{
"id": 123,
"title": "<string>",
"display_name": "<string>",
"image_url": "<string>",
"image_path": "<string>",
"sku": "<string>",
"primary_image": "<string>",
"price": 123,
"price_in_currency": "<string>",
"currency_code": "<string>",
"options": [
{
"title": "<string>",
"value": "<string>"
}
]
}
]
}{
"status": "fail",
"data": {
"error": "<string>"
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}