POST /channel-variants.json

POST /channel-variants.json
application/json

Body Required

Responses

POST /channel-variants.json
curl \
 -X POST http://api.example.com/v1/channel-variants.json \
 -H "Content-Type: application/json" \
 -d '{"channelId":42,"costPriceUpdate":{},"errorMessage":"string","externalGroupId":"string","externalId":"string","externalSku":"string","hash":"string","inventoryUpdate":{},"parentHash":"string","priceUpdate":{},"publishUpdate":{},"source":"shopify","status":"pending","variantId":42,"variantParcelsHash":"string"}'
Request example
{
  "channelId": 42,
  "costPriceUpdate": {},
  "errorMessage": "string",
  "externalGroupId": "string",
  "externalId": "string",
  "externalSku": "string",
  "hash": "string",
  "inventoryUpdate": {},
  "parentHash": "string",
  "priceUpdate": {},
  "publishUpdate": {},
  "source": "shopify",
  "status": "pending",
  "variantId": 42,
  "variantParcelsHash": "string"
}
Response examples (200)
{
  "channelId": 42,
  "costPriceUpdate": {},
  "createdAt": "2023-05-04T09:42:00+00:00",
  "errorMessage": "string",
  "externalGroupId": "string",
  "externalId": "string",
  "externalSku": "string",
  "hash": "string",
  "id": 42,
  "inventoryUpdate": {},
  "parentHash": "string",
  "priceUpdate": {},
  "publishUpdate": {},
  "source": "shopify",
  "status": "pending",
  "updatedAt": "2023-05-04T09:42:00+00:00",
  "variantId": 42,
  "variantParcelsHash": "string"
}