---
title: "Submit an Inventory Order"
method: POST
path: "/inventory/orders/{orderId}/submit"
tags: ["InventoryOrders"]
---

# Submit an Inventory Order

`POST /inventory/orders/{orderId}/submit`

This endpoint submits an inventory order for the given site.

## Response `200`

The inventory order with items was successfully retrieved

- object
  - `data` InventoryOrderWithItems, required
    - `id` string, uuid, required — The ID of the inventory order.
    - `status` 'draft' | 'submitted' | 'received', required — The status of the inventory order.
    - `purchase_order_number` string, required — The purchase order number for this inventory order.
    - `supplier_id` string, uuid, required — The ID of the supplier for this inventory order.
    - `supplier_name` string, required — The name of the supplier for this inventory order.
    - `supplier_email` string — An email address for the supplier of this inventory order.
    - `subtotal` integer, required — The subtotal of the order in the lowest denomination for this order's currency.
    - `currency` string, required — The currency of the inventory order.
    - `item_count` integer, required — The total number of items in the inventory order.
    - `items` InventoryOrderItem[], required
      - `id` string, uuid, required — The ID of the inventory order item.
      - `order_id` string, uuid, required — The ID of the inventory order the item belongs to.
      - `quantity` integer, required — The quantity of the item to be ordered.
      - `unit_price` integer, required — The unit price of the item in the lowest denomination for the product's currency.
      - `product_id` string, uuid, required — The ID of the inventory product to be ordered.
      - `product_name` string, required — The name of the inventory product to be ordered.
      - `line_total` integer, required — The total price of the item in the lowest denomination for the supplier's currency.
    - `created_by_id` string, uuid, nullable, required — The ID of the user who created the inventory order.
    - `items_added` boolean, required — Whether items have been added to the order.
    - `organisation_id` string, uuid, required — The ID of the organisation this inventory order belongs to.
    - `created_at` string, date-time, required — The date and time the inventory order was created.
    - `updated_at` string, date-time, required — The date and time the inventory order was last updated.
    - `submitted_at` string, date-time, nullable, required — The date and time the inventory order was submitted.
    - `last_submitted_at` string, date-time, nullable, required — The date and time the inventory order was last submitted.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
