Get all product variations

GET {{baseUrl}}/products/:id/variations?cursor=<string>&limit=<integer>

Returns data about all product variations.

Request Params

KeyDatatypeRequiredDescription
cursorstringFor pagination, the marker (an opaque string value) representing the first item on the next page
limitstringFor pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:2,&quot;name&quot;:&quot;Upgraded Mechanical Pencil&quot;,&quot;product_id&quot;:1,&quot;prices&quot;:[{&quot;product_variation_id&quot;:2,&quot;price&quot;:5,&quot;currency&quot;:&quot;EUR&quot;,&quot;cost&quot;:2,&quot;direct_cost&quot;:3,&quot;notes&quot;:&quot;This is the price for the upgraded mechanical pencil&quot;}]}],&quot;additional_data&quot;:{&quot;next_cursor&quot;:&quot;eyJmaWVsZCI6ImlkIiwiZmllbGRWYWx1ZSI6Nywic29ydERpcmVjdGlvbiI6ImFzYyIsImlkIjo3fQ&quot;}}