curl --request PATCH \
--url https://api.shoppex.io/dev/v1/products/{uniqid}/variants/order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"variantIds": [
"<string>"
]
}
'{
"data": {
"success": true
}
}Set the display order of variants by providing an ordered array of variant IDs
curl --request PATCH \
--url https://api.shoppex.io/dev/v1/products/{uniqid}/variants/order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"variantIds": [
"<string>"
]
}
'{
"data": {
"success": true
}
}Use your API key with the Bearer scheme. Get your key from Dashboard → Settings → API Keys. Format: Authorization: Bearer shx_...
Product uniqid
Array of variant uniqids in desired order
1 - 100 elementsDefault Response
Show child attributes