Batch update variants
Updates multiple existing variants in a single request (does not create new variants). Each entry in batch must include id (numeric variant ID or SKU) to match an existing variant; unmatched IDs are silently skipped. Stock fields use available_units/total_units (units is deprecated but still accepted).
POST
/products/{product_id}/variants/updatersAuthorization
AuthorizationBearer token (JWT) · headerrequiredPath parameters
product_idstringrequiredQuery parameters
shop_idintegerrequiredRequest body
requiredapplication/jsonbatchobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredExisting variant ID or SKU
titlestringAccepted (unlike the standalone update endpoint, which ignores it)
skustringregular_priceintegersale_priceintegerstatusstringAllowed:
visiblehiddenstocksobject[]Show propertiesHide properties
Array of
objectlocation_idintegeravailable_unitsintegertotal_unitsintegerResponses
201
Variants processed
_embeddedobjectShow propertiesHide properties
valid_itemsobject[]Show propertiesHide properties
Array of
objectidintegertitlestringinvalid_itemsobject[]Show propertiesHide properties
Array of
objectidintegertitlestring