POST
/channel-variant-imports.json
curl \
--request POST 'http://api.example.com/v1/channel-variant-imports.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"channelVariantId":42,"costPrice":42.0,"grams":42.0,"inventoryPolicy":"ignore","productPayload":{},"sku":"string","variantPayload":{}}'
Request examples
{
"channelVariantId": 42,
"costPrice": 42.0,
"grams": 42.0,
"inventoryPolicy": "ignore",
"productPayload": {},
"sku": "string",
"variantPayload": {}
}
Response examples (200)
{
"channelVariantId": 42,
"costPrice": 42.0,
"createdAt": "2025-05-04T09:42:00Z",
"grams": 42.0,
"id": 42,
"inventoryPolicy": "ignore",
"productPayload": {},
"sku": "string",
"updatedAt": "2025-05-04T09:42:00Z",
"variantPayload": {}
}