InventoryOrders

Submit an Inventory Order

This endpoint submits an inventory order for the given site.

post/inventory/orders/{orderId}/submit

Response

The inventory order with items was successfully retrieved

Example response

{
  "data": {
    "purchase_order_number": "PO123",
    "supplier_name": "Elemis",
    "supplier_email": "orders@example.com",
    "subtotal": 2000,
    "currency": "gbp",
    "item_count": 10,
    "items": [
      {
        "quantity": 10,
        "unit_price": 200,
        "product_name": "Blissful Body Butter",
        "line_total": 2000
      }
    ],
    "created_at": "2024-06-01T12:00:00Z",
    "updated_at": "2024-06-01T12:00:00Z",
    "submitted_at": "2024-06-01T12:00:00Z",
    "last_submitted_at": "2024-06-02T12:00:00Z"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.