POST /channel-variant-updates.json

POST /channel-variant-updates.json
application/json

Body Required

Responses

POST /channel-variant-updates.json
curl \
 -X POST http://api.example.com/v1/channel-variant-updates.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"channelVariantId":42,"compareAtPrice":42.0,"costPrice":42.0,"hideWhenNoCostPrice":true,"inventoryQuantity":42,"payload":{},"price":42.0,"response":{},"retries":42,"retry":true,"status":"success","statusMessage":"string","type":"inventory","variantInventoryUpdateId":42}'
Request example
{
  "channelVariantId": 42,
  "compareAtPrice": 42.0,
  "costPrice": 42.0,
  "hideWhenNoCostPrice": true,
  "inventoryQuantity": 42,
  "payload": {},
  "price": 42.0,
  "response": {},
  "retries": 42,
  "retry": true,
  "status": "success",
  "statusMessage": "string",
  "type": "inventory",
  "variantInventoryUpdateId": 42
}
Response examples (200)
{
  "channelVariantId": 42,
  "compareAtPrice": 42.0,
  "costPrice": 42.0,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "hideWhenNoCostPrice": true,
  "id": 42,
  "inventoryQuantity": 42,
  "payload": {},
  "price": 42.0,
  "response": {},
  "retries": 42,
  "retry": true,
  "status": "success",
  "statusMessage": "string",
  "type": "inventory",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "variantInventoryUpdateId": 42
}