Body
Required
-
Channel variant
-
Compare at price
-
Cost price
-
Created at
-
Hide when no cost price
-
Id
-
Inventory quantity
-
Price
-
Retries
-
Retry
-
Status
Values are
success
,error
,pending
, orskipped
. Default value issuccess
. -
Status message
-
Type
Values are
inventory
,price
,publish
,cost_price
, orprice_list
. -
Updated at
-
Variant inventory update
PUT
/channel-variant-updates/{id}.json
curl \
--request PUT 'http://api.example.com/v1/channel-variant-updates/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"channelVariantId":42,"compareAtPrice":42.0,"costPrice":42.0,"createdAt":"2025-05-04T09:42:00Z","hideWhenNoCostPrice":true,"id":42,"inventoryQuantity":42,"payload":{},"price":42.0,"response":{},"retries":42,"retry":true,"status":"success","statusMessage":"string","type":"inventory","updatedAt":"2025-05-04T09:42:00Z","variantInventoryUpdateId":42}'
Request examples
{
"channelVariantId": 42,
"compareAtPrice": 42.0,
"costPrice": 42.0,
"createdAt": "2025-05-04T09:42:00Z",
"hideWhenNoCostPrice": true,
"id": 42,
"inventoryQuantity": 42,
"payload": {},
"price": 42.0,
"response": {},
"retries": 42,
"retry": true,
"status": "success",
"statusMessage": "string",
"type": "inventory",
"updatedAt": "2025-05-04T09:42:00Z",
"variantInventoryUpdateId": 42
}