Get Inventory Stock
By specifying a Product Code at the end of the endpoint, you can bring up stock and location information about the corresponding product.
Endpoint: https://YOUR-ACCOUNT-NAME.despatchcloud.co.uk/ws/v1/wsorders/get_inventory_locations
Method: GET
Example Response:
Method: GET
Example Response:
CopyCopyCopyCopyCopyCopyCopyCopy{ "status": "SUCCESS", "inventory": { "product_code": "Test5", "product_id": "21584", "stock_level": 12, "on_puchase_order": 0, "locations": [ { "il_id": "21603", "product_id": "21584", "location_id": "A1", "stock_level": "12", "stock_warn_level": "0", "priority": "10", "parent_location_id": "0", "location_name": "Default", "location_type_id": "1", "pickable": "0", "on_hand_stock": "1", "deleted_status": "0", "location_type": "Default", "location_priority": "1000" } ] } }