How would I get the stock of an item via the demandware/cloud commerce OCAPI?
Asked
Active
Viewed 584 times
-4
-
1Your question is too broad. Check out: https://stackoverflow.com/help/how-to-ask – Alejandro Sep 26 '18 at 14:41
2 Answers
1
You can do that using the following OCAPI:
GET /inventory_lists/{inventory_list_id}/product_inventory_records/{product_id}

Stephen Kennedy
- 20,585
- 22
- 95
- 108

ddon-90
- 2,816
- 1
- 20
- 29
1
see below example which assumes that you have a valid token.
GET {{shop_url}}/products/701644676568M/availability

Stephen Kennedy
- 20,585
- 22
- 95
- 108

Jesper
- 304
- 6
- 10