Get all product variations
GET {{baseUrl}}/products/:id/variations?cursor=<string>&limit=<integer>
Returns data about all product variations.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cursor | string | For pagination, the marker (an opaque string value) representing the first item on the next page | |
limit | string | For 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
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"success":true,"data":[{"id":2,"name":"Upgraded Mechanical Pencil","product_id":1,"prices":[{"product_variation_id":2,"price":5,"currency":"EUR","cost":2,"direct_cost":3,"notes":"This is the price for the upgraded mechanical pencil"}]}],"additional_data":{"next_cursor":"eyJmaWVsZCI6ImlkIiwiZmllbGRWYWx1ZSI6Nywic29ydERpcmVjdGlvbiI6ImFzYyIsImlkIjo3fQ"}}