Body
Required
-
Cache hash
-
Channel
-
Cost price retries
-
Cost price retry
-
Error message
-
External created at
-
External group
-
External
-
External sku
-
Hash
-
Inventory retries
-
Inventory retry
-
Meta fields hash
-
Parent hash
-
Price list hash
-
Price list retry
-
Price retries
-
Price retry
-
Source
Values are
bigCommerce
,custom
,duoplane
,elasticPath
,magento
,salesforce
,shopify
, orwooCommerce
. Default value isshopify
. -
Status
Values are
initialized
,connected
,error
,pending
,ignore
, oracknowledging
. Default value ispending
. -
Variant
-
Variant parcels hash
POST
/channel-variants.json
curl \
--request POST 'http://api.example.com/v1/channel-variants.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"cacheHash":"string","channelId":42,"costPriceRetries":42,"costPriceRetry":true,"costPriceUpdate":{},"errorMessage":"string","externalCreatedAt":"2025-05-04T09:42:00Z","externalGroupId":"string","externalId":"string","externalSku":"string","hash":"string","inventoryRetries":42,"inventoryRetry":true,"inventoryUpdate":{},"metaFieldsHash":"string","parentHash":"string","priceListHash":"string","priceListRetry":true,"priceRetries":42,"priceRetry":true,"priceUpdate":{},"publishUpdate":{},"source":"shopify","status":"pending","variantId":42,"variantParcelsHash":"string"}'
Request examples
{
"cacheHash": "string",
"channelId": 42,
"costPriceRetries": 42,
"costPriceRetry": true,
"costPriceUpdate": {},
"errorMessage": "string",
"externalCreatedAt": "2025-05-04T09:42:00Z",
"externalGroupId": "string",
"externalId": "string",
"externalSku": "string",
"hash": "string",
"inventoryRetries": 42,
"inventoryRetry": true,
"inventoryUpdate": {},
"metaFieldsHash": "string",
"parentHash": "string",
"priceListHash": "string",
"priceListRetry": true,
"priceRetries": 42,
"priceRetry": true,
"priceUpdate": {},
"publishUpdate": {},
"source": "shopify",
"status": "pending",
"variantId": 42,
"variantParcelsHash": "string"
}
Response examples (200)
{
"cacheHash": "string",
"channelId": 42,
"costPriceRetries": 42,
"costPriceRetry": true,
"costPriceUpdate": {},
"createdAt": "2025-05-04T09:42:00Z",
"errorMessage": "string",
"externalCreatedAt": "2025-05-04T09:42:00Z",
"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": "2025-05-04T09:42:00Z",
"variantId": 42,
"variantParcelsHash": "string"
}