InventoryOrders

Update an Inventory Order

This endpoint updates an inventory order for the given site.

put/inventory/orders/{orderId}

Request body

purchase_order_numberstring

The purchase order number for this inventory order.

supplier_emailstring

The email address of the supplier for this inventory order.

Example request

{
  "purchase_order_number": "PO123",
  "supplier_email": "orders@example.com"
}

Response

The inventory order 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,
    "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.