Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.omneo.io/llms.txt

Use this file to discover all available pages before exploring further.

Orders in Omneo represent unfinalised purchase records, web orders awaiting fulfilment, laybys, or any purchase that has not yet been completed and converted to a transaction.

Orders vs transactions

The distinction between orders and transactions is important:
ConceptStateMutable?Incentive effects
OrderIn-progressYesNo, until finalised
TransactionCompletedNoYes, on creation
One order can produce:
  • Zero transactions: if the order is cancelled before fulfilment
  • One transaction: the most common case (full order fulfilled)
  • Multiple transactions: if items are shipped in separate fulfilments with separate transactions

When to use orders

Orders are used when you need to record a purchase commitment before it is finalised. Common scenarios:
  • eCommerce: an online order placed but not yet shipped/fulfilled
  • Layby: a reservation with staged payments
  • Click and collect: an order placed online for in-store pickup

Order fields

FieldDescription
profile_idThe profile this order belongs to
external_idThe eCommerce or POS order number
totalOrder total value
statusOrder status (e.g., pending, fulfilled, cancelled)
currencyOrder currency
location_idPickup or fulfilment location
occurred_atOrder placement date
itemsArray of order line items

Order to transaction conversion

When an order is fulfilled, create a corresponding transaction via the Transactions API. The order record is retained as a reference. Incentive calculations, point issuance, and reaction triggers all happen at the transaction stage.
Content needed: specific API workflow for converting orders to transactions in common integration patterns.