PUT /channel-variants/{id}.json

PUT /channel-variants/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

PUT /channel-variants/{id}.json
curl \
 -X PUT http://api.example.com/v1/channel-variants/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"cacheHash":"string","channelId":42,"costPriceRetries":42,"costPriceRetry":true,"costPriceUpdate":{},"createdAt":"2024-05-04T09:42:00+00:00","errorMessage":"string","externalCreatedAt":"2024-05-04T09:42:00+00:00","externalGroupId":"string","externalId":"string","externalSku":"string","hash":"string","id":42,"inventoryRetries":42,"inventoryRetry":true,"inventoryUpdate":{},"metaFieldsHash":"string","parentHash":"string","priceListHash":"string","priceListRetry":true,"priceRetries":42,"priceRetry":true,"priceUpdate":{},"publishUpdate":{},"source":"shopify","status":"pending","updatedAt":"2024-05-04T09:42:00+00:00","variantId":42,"variantParcelsHash":"string"}'
Request example
{
  "cacheHash": "string",
  "channelId": 42,
  "costPriceRetries": 42,
  "costPriceRetry": true,
  "costPriceUpdate": {},
  "createdAt": "2024-05-04T09:42:00+00:00",
  "errorMessage": "string",
  "externalCreatedAt": "2024-05-04T09:42:00+00:00",
  "externalGroupId": "string",
  "externalId": "string",
  "externalSku": "string",
  "hash": "string",
  "id": 42,
  "inventoryRetries": 42,
  "inventoryRetry": true,
  "inventoryUpdate": {},
  "metaFieldsHash": "string",
  "parentHash": "string",
  "priceListHash": "string",
  "priceListRetry": true,
  "priceRetries": 42,
  "priceRetry": true,
  "priceUpdate": {},
  "publishUpdate": {},
  "source": "shopify",
  "status": "pending",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "variantId": 42,
  "variantParcelsHash": "string"
}