🚀 New: Theme Control Plane API — build, customize, and deploy themes programmatically. Learn more →
curl --request POST \
--url https://api.shoppex.io/dev/v1/products/{id}/variants \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "New",
"description": null,
"price": 9,
"price_modifier": null,
"stock": 3,
"stock_delimiter": null,
"license_period": null,
"option_values": {
"region": "eu"
},
"is_default": false,
"sort_order": 0
}
'{
"data": {}
}Developer API operation for POST /dev/v1/products//variants.
curl --request POST \
--url https://api.shoppex.io/dev/v1/products/{id}/variants \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "New",
"description": null,
"price": 9,
"price_modifier": null,
"stock": 3,
"stock_delimiter": null,
"license_period": null,
"option_values": {
"region": "eu"
},
"is_default": false,
"sort_order": 0
}
'{
"data": {}
}