Skip to main content
GET
/
vendor
/
products
/
{id}
curl 'http://localhost:9000/vendor/products/prod_01HXYZ' \
  -H 'Authorization: Bearer <token>' \
  -H 'x-seller-id: <seller_id>'
{
  "product": {
    "id": "prod_01HXYZ",
    "title": "Acme T-Shirt",
    "status": "published",
    "handle": "acme-t-shirt",
    "variants": [
      { "id": "variant_01HXYZ", "title": "M", "sku": "ACME-SHIRT-M" }
    ]
  }
}
Returns a single product with its images, variants, and attribute assignments.

Path parameters

id
string
required
The product’s ID.

Query parameters

fields
string
Comma-separated fields to include in the response. Prefix with +/- to add to or remove from the defaults. Include variants.offers to attach the seller’s offers to each variant.

Response

product
object
curl 'http://localhost:9000/vendor/products/prod_01HXYZ' \
  -H 'Authorization: Bearer <token>' \
  -H 'x-seller-id: <seller_id>'
{
  "product": {
    "id": "prod_01HXYZ",
    "title": "Acme T-Shirt",
    "status": "published",
    "handle": "acme-t-shirt",
    "variants": [
      { "id": "variant_01HXYZ", "title": "M", "sku": "ACME-SHIRT-M" }
    ]
  }
}