POST /channel-variant-imports.json

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

Body Required

Responses

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