Skip to main content

List Variation Options

Retrieve the variation options defined for a store product.

Endpointโ€‹

GET /v1/store-products/{id}/variation-options

Authenticationโ€‹

Requires an API key with the store:read scope.

Parametersโ€‹

ParameterTypeLocationDescription
idintegerpathThe store product ID

Responseโ€‹

Success (200 OK)โ€‹

{
"data": {
"product_id": 1,
"has_variations": true,
"variation_options": [
{
"id": 1,
"name": "Size",
"values": ["Small", "Medium", "Large"]
},
{
"id": 2,
"name": "Color",
"values": ["Red", "Blue", "Green"]
}
]
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-02-15T12:00:00+00:00"
}
}
note

If the product does not have variations enabled, has_variations will be false and variation_options will be an empty array.

Response Fieldsโ€‹

FieldTypeDescription
product_idintegerThe store product ID
has_variationsbooleanWhether the product has variations enabled
variation_optionsarrayList of variation option objects
variation_options[].idintegerUnique option identifier
variation_options[].namestringOption name (e.g., "Size", "Color")
variation_options[].valuesarrayList of possible string values for this option

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
401invalid_api_keyInvalid API key
403insufficient_scopeAPI key lacks store:read scope
404resource_not_foundStore product does not exist

Example Requestโ€‹

curl -X GET "https://app.equipdash.com/api/v1/store-products/1/variation-options" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."