Overview
An Order is a commercial transaction — a sale, a purchase, a transfer, an invoice, and more. Every order is created from an Order Template that sets its type and rules. As an order moves through its statuses, it updates inventory automatically; invoices take payments; and orders link to one another through parent-child flows. For the order types and their inventory effects, see the Commerce overview.Where to find it
Orders live under Commerce → Orders.Statuses
An order moves through five statuses:draft → new → processing → completed, plus void.
- You can move between any of the first four in any direction; each transition applies the order type’s inventory effect.
voidis terminal — a voided order has no further transitions, and deleting an order voids it.- Rolling back from
completedis guarded: you can’t move a completed order backward while it has approved payments or completed child orders — resolve those first (refund/void the invoice, void the completed child).
Properties
| Property | Type | Required | Description |
|---|---|---|---|
title | string | Auto | Generated from the template’s naming convention. |
slug | string | Auto | Unique identifier, generated alongside the title. |
type | enum | Auto | The order type, inherited from the template. |
status | enum | No | draft, new, processing, completed, or void. |
template_id | reference | Yes | The order template this order is built from. |
contact_id | reference | No | The customer or contact for the order. |
location_id | reference | No | The primary location (warehouse or store). |
destination_location_id | reference | No | The destination location, for transfers. |
parent_id | reference | Conditional | The parent order — required for invoices, shipping, and returns. |
items | array | No | The line items. |
charges | array | No | Order-level charges. |
summary | object | Auto | The calculated totals. |
is_paid | boolean | Auto | Whether the order has been fully paid. |
Line items
An order’s contents are its line items — one per product or service. Each line carries the item, the quantity, the unit price, discount and tax, and rolls up into a subtotal and total. The columns and any formulas come from the product’s content template, so the same product can show different columns on a sale vs. a purchase. Line items are grouped on the order view by their product template. An item that needs per-unit tracking (serial numbers, assignment to a contact, or per-unit attributes) gets one record per unit of its quantity.Charges
Charges are order-level adjustments on top of the line items:| Concept | Effect |
|---|---|
discount, promotion | Subtract |
tax, shipping, surcharges, additional_cost | Add |
other, price_adjustment | Add or subtract (you choose) |
draft or new.
Summary
Every order keeps a calculated summary — item totals, the sums of taxes and discounts, each charge total, the order total, and the amount paid. It updates automatically as line items and charges change.Parent-child orders
Orders link into parent-child chains so a transaction can move through stages. A child order carries selected line items from its parent (each remembers the line it came from). The order template’s rules decide which child types are allowed and from which parent status. For example:- A pre-order (cart or quote) becomes a sale; the sale produces an invoice for payment and a transfer for fulfillment.
- An opportunity evolves into a quote, then a sale, then an invoice.
- A completed sale or purchase can spawn a return, whose invoice child issues the refund.
A given parent line item can appear in only one child of each type — e.g. one
transfer and one invoice, but not two transfers.
Seeds
Orders travel between environments as structural Seeds. References use reference helpers; the order’s title, slug, totals, and summary are computed on import:Governance & permissions
A super admin or Master can manage any order; a Journey Manager can manage the orders they own (see Ownership).API access
Orders have full CRUD plus dedicated operations to add, update, remove, and reorder line items, change status, create a child order, and add or remove charges. See the API reference.Related
Order Templates
The blueprint that defines an order’s type and rules.
Inventory
How an order’s status moves stock.
Payments
Taking payment on invoice orders.
Price Lists
Where line-item prices come from.