Update Product Availability- Added Status Override
The Product Availability endpoint has previously only allowed you to update all the products in your request to in OR out of stock. Due to our rate limiting this can mean it will be a few minutes before the stock is completely up to date on the retailer’s Snappy store.
We have now added the ability to override the global stock status of your request at an item level allowing you to mark items as both in or out of stock in the same request. In the below example the ean “1234567890” will be set as out of stock while the other items will be marked as in stock as per the global status.
{
"storeId": 1234,
"status": "instock",
"eans": [
{
"ean": "123457890",
"returnDate": "2021-09-25",
"statusOverride": "outofstock"
},
{
"ean": "1232343453453",
"returnDate": "2021-09-25"
},
{
"ean": "5678453450"
}
]
}
.