inventory
This topic explains how to communicate with inventory API.
GET | api/episerver/v3.0/inventory | Gets sku inventory information. |
CD.Commerce exposes a separate endpoint /api/episerver/v3.0/inventory?contentId={{contentguid}}
to query inventory info. Clients send a request to the endpoint along with the catalog content contentId
in the query string to acquire inventory info.
Request – /api/episerver/v3.0/inventory?contentId=3c69e19f-43eb-40cf-b0ba-4a61c6d443f4
Response
[
{
"entryCode" : "Single-Day-Ticket---Monday_1",
"warehouseCode" : "default",
"purchaseAvailableQuantity" : 1000.0,
"purchaseRequestedQuantity" : 0.0,
"purchaseAvailable" : "2019-11-30T17:00:00Z"
}
]
Updated about 1 month ago