🚀 New: Theme Control Plane API — build, customize, and deploy themes programmatically. Learn more →
curl --request GET \
--url https://api.shoppex.io/dev/v1/products/{id}/variants/{variantId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "variant_1",
"uniqid": "variant_1",
"product_uniqid": "prod_1",
"title": "Gold",
"description": null,
"price": 12,
"price_modifier": null,
"stock": 5,
"stock_delimiter": null,
"license_period": null,
"option_values": {
"region": "eu"
},
"is_default": true,
"sort_order": 0,
"created_at": 1711953600,
"updated_at": 1711953900
}
}Developer API operation for GET /dev/v1/products//variants/.
curl --request GET \
--url https://api.shoppex.io/dev/v1/products/{id}/variants/{variantId} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "variant_1",
"uniqid": "variant_1",
"product_uniqid": "prod_1",
"title": "Gold",
"description": null,
"price": 12,
"price_modifier": null,
"stock": 5,
"stock_delimiter": null,
"license_period": null,
"option_values": {
"region": "eu"
},
"is_default": true,
"sort_order": 0,
"created_at": 1711953600,
"updated_at": 1711953900
}
}