Marks Product Availability
This endpoint marks a product available or unavailable on one sales channel, subscribed by the workspace.
200 The API returns the 200:OK response with same response as request, if the mark availability/unavailability of the product is success. 412 If some mandatory custom field(s) is/are not mapped with this product for a given channel, then the returned error list the comma separated custom fields, which needs to be mapped in order to mark product available.
Copy {
"esin" : "0SGAT12SG25F",
"channelCode" : "CH1234",
"availability" : false
}
Copy {
"error": {
"errors": [
{
"domain": "global",
"reason": "Required information is not available for the product",
"message": "fabric"
}
],
"code": 503,
"message": "fabric"
}
}