Where can I see the latest stock update for my product?
The stock for your product is stored in a 'stock location'. Your own (merchant) stock is one location, stock from external fulfilment like LVB (Bol) or FBA (Amazon) are separate locations.
The timestamp of the last update for a specific stock location can be retrieved in 2 ways:
- In the ChannelEngine web interface: by hovering over your stock quantity, an overlay will appear displaying the date and time of the last update.
- In the ChannelEngine merchant API: by performing a "GET /v2/offer/stock" call, you can get the stock quantity for a specific stock location for your product including the timestamp of the last update.
An example:
curl -X GET "https://myshop.channelengine.com/api/v2/offer/stock?skus=6142&stockLocationIds=1&apikey=[APIKEY]" -H "accept: text/plain"
Response:
{ "Content": [ { "MerchantProductNo": "6142", "StockLocationId": 1, "Stock": 4, "UpdatedAt": "2019-01-31T16:30:09.893+01:00" } ], "Count": 1, "TotalCount": 1, "ItemsPerPage": 1, "StatusCode": 200, "LogId": null, "Success": true, "Message": null, "ValidationErrors": {} }
Comments
0 comments
Article is closed for comments.