Get Order Inventory

By specifying an Order ID in the URL, you can retrieve the inventory items from the corresponding order.

Endpoint: https://YOUR-ACCOUNT-NAME.despatchcloud.co.uk/ws/v1/wsorders/get_order_inventory/{order_id}
Method: GET
 
Example Response:
CopyCopyCopyCopyCopyCopyCopy{
  "status": "SUCCESS",
  "order_id": "123456789-9",
  "inventory": [
    {
      "id": "5341",
      "stock_code": "Test01",
      "quantity": "1",
      "name": "Test Product 1",
      "unit_price": "8.00",
      "line_total_discount": "0.00",
      "options": "",
      "notes": "",
      "sales_channel_item_id": "",
      "price": "8.00"
    }
  ]
}