Mark Product Availability
Marks Product Availability
POST https://{workspace}.myeshopbox.com/product-engine/api/v2/productListing
This endpoint marks a product available or unavailable on one sales channel, subscribed by the workspace.
Headers
Name
Type
Description
Authentication
string
The Bearer token to grant access to the API
Request Body
Name
Type
Description
availability
boolean
true for marking available else false
channelCode
string
mark product availability on this sales channel
esin
string
ESIN of the product
{
"error": {
"errors": [
{
"domain": "global",
"reason": "Required information is not available for the product",
"message": "fabric"
}
],
"code": 503,
"message": "fabric"
}
}curl --location --request POST 'https://{workspace}.myeshopbox.com/product-engine/api/v1/productListing' \
--header 'Authorization: Bearer AUTH_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"esin" : "0SGAT12SG25F",
"channelCode" : "CH1234",
"availability" : false
}'Last updated
Was this helpful?