Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a paginated list of a product’s variants.
curl 'http://localhost:9000/vendor/products/prod_01HXYZ/variants?limit=20' \ -H 'Authorization: Bearer <token>' \ -H 'x-seller-id: <seller_id>'
const { variants, count } = await client.vendor.products.$id.variants.query({ $id: "prod_01HXYZ", limit: 20, })
{ "variants": [ { "id": "variant_01HXYZ", "title": "M", "sku": "ACME-SHIRT-M", "product_id": "prod_01HXYZ", "manage_inventory": false, "allow_backorder": false } ], "count": 1, "offset": 0, "limit": 20 }
variant_rank
-created_at
+
-
$gt
$lt
$gte
$lte
Show properties
id
value
option
url
rank