PUT /channels/{id}/acknowledge-variant.json
PUT
/channels/{id}/acknowledge-variant.json
Path parameters
-
id integer(int64) Required
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
channelId integer(int32) Required
Channel
- costPriceUpdate object | null | array | boolean | integer | number | string
Any of: Cost price update
Cost price update
Cost price update
Cost price update
Cost price update
Cost price update
-
createdAt string(date-time)
Created at
-
errorMessage string | null
Error message
-
externalGroupId string | null
External group
-
externalId string Required
External
-
externalSku string | null
External sku
-
hash string | null
Hash
-
id integer(int32)
Id
- inventoryUpdate object | null | array | boolean | integer | number | string
Any of: Inventory update
Inventory update
Inventory update
Inventory update
Inventory update
Inventory update
-
parentHash string | null
Parent hash
- priceUpdate object | null | array | boolean | integer | number | string
- publishUpdate object | null | array | boolean | integer | number | string
-
source string Required
Source
Values are
bigCommerce
,custom
,duoplane
,elasticPath
,magento
,salesforce
,shopify
, orwooCommerce
. Default value isshopify
. -
status string Required
Status
Values are
initialized
,connected
,error
,pending
, orignore
. Default value ispending
. -
updatedAt string(date-time)
Updated at
-
variantId integer(int32) | null
Variant
-
variantParcelsHash string | null
Variant parcels hash
PUT /channels/{id}/acknowledge-variant.json
curl \
-X PUT http://api.example.com/v1/channels/{id}/acknowledge-variant.json \
-H "Content-Type: application/json" \
-d '{"channelId":42,"costPriceUpdate":{},"createdAt":"2023-05-04T09:42:00+00:00","errorMessage":"string","externalGroupId":"string","externalId":"string","externalSku":"string","hash":"string","id":42,"inventoryUpdate":{},"parentHash":"string","priceUpdate":{},"publishUpdate":{},"source":"shopify","status":"pending","updatedAt":"2023-05-04T09:42:00+00:00","variantId":42,"variantParcelsHash":"string"}'
Request example
{
"channelId": 42,
"costPriceUpdate": {},
"createdAt": "2023-05-04T09:42:00+00:00",
"errorMessage": "string",
"externalGroupId": "string",
"externalId": "string",
"externalSku": "string",
"hash": "string",
"id": 42,
"inventoryUpdate": {},
"parentHash": "string",
"priceUpdate": {},
"publishUpdate": {},
"source": "shopify",
"status": "pending",
"updatedAt": "2023-05-04T09:42:00+00:00",
"variantId": 42,
"variantParcelsHash": "string"
}
Response examples (200)
{
"channelId": 42,
"costPriceUpdate": {},
"createdAt": "2023-05-04T09:42:00+00:00",
"errorMessage": "string",
"externalGroupId": "string",
"externalId": "string",
"externalSku": "string",
"hash": "string",
"id": 42,
"inventoryUpdate": {},
"parentHash": "string",
"priceUpdate": {},
"publishUpdate": {},
"source": "shopify",
"status": "pending",
"updatedAt": "2023-05-04T09:42:00+00:00",
"variantId": 42,
"variantParcelsHash": "string"
}