Getting stock with demandware/cloud commerce OCAPI

670 views Asked by At

How would I get the stock of an item via the demandware/cloud commerce OCAPI?

2

There are 2 answers

0
ddon-90 On

You can do that using the following OCAPI:

GET /inventory_lists/{inventory_list_id}/product_inventory_records/{product_id}
0
Jesper On

see below example which assumes that you have a valid token.

GET {{shop_url}}/products/701644676568M/availability