curl --request GET \
--url https://api.snappy.com/v3/base-products/{baseProductId}/variants \
--header 'X-Api-Key: <api-key>'{
"data": [
{
"id": "bv_x9y8z7",
"title": "<string>",
"selectedOptions": {},
"media": [
{
"type": "image",
"src": "https://media.snappy.com/image/asset123?w=1000&h=1000&q=80&f=auto"
}
],
"baseProductId": "<string>"
}
],
"links": {
"first": "/v3/collections/abc/products?page[size]=100",
"next": "/v3/collections/abc/products?page[cursor]=cursor_abc123&page[size]=100",
"prev": "<string>"
}
}Returns a paginated list of base variants for a base product.
Page-number pagination (page[number], page[size]).
curl --request GET \
--url https://api.snappy.com/v3/base-products/{baseProductId}/variants \
--header 'X-Api-Key: <api-key>'{
"data": [
{
"id": "bv_x9y8z7",
"title": "<string>",
"selectedOptions": {},
"media": [
{
"type": "image",
"src": "https://media.snappy.com/image/asset123?w=1000&h=1000&q=80&f=auto"
}
],
"baseProductId": "<string>"
}
],
"links": {
"first": "/v3/collections/abc/products?page[size]=100",
"next": "/v3/collections/abc/products?page[cursor]=cursor_abc123&page[size]=100",
"prev": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.snappy.com/llms.txt
Use this file to discover all available pages before exploring further.
Partner API key. Finalized per partner integration agreement.
Base product identifier.
Optional base-product/base-variant field expansions. Comma-separated.
1-indexed page number for page-number paginated endpoints.
x >= 1Number of base variants per page (max 500, default 100).
1 <= x <= 500Paginated list of base variants.
Paginated base variant list response.
Show child attributes
Top-level JSON:API-style pagination links for paginated list
responses. first is always present. next is null on the final
page. prev is null on the first page (and on cursor-paginated
endpoints where backward navigation is not supported).
Show child attributes
Was this page helpful?