PUT /channel-variant-imports/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
Channel variant
-
costPrice number | null
Cost price
-
createdAt string(date-time)
Created at
-
grams number(float) | null
Grams
-
id integer(int32)
Id
-
inventoryPolicy string | null
Inventory policy
Values are
ignore
,deny
,continue
,dropship
, ortrack
. productPayload object | null | array | boolean | integer | number | string
Any of: Product payload
Product payload
Product payload
Product payload
Product payload
Product payload
-
sku string | null
Sku
-
updatedAt string(date-time)
Updated at
variantPayload object | null | array | boolean | integer | number | string
Any of: Variant payload
Variant payload
Variant payload
Variant payload
Variant payload
Variant payload
PUT /channel-variant-imports/{id}.json
curl \
-X PUT http://api.example.com/v1/channel-variant-imports/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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":{}}'
Request example
{
"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": {}
}