The order object
This object represents an order, the permanent record of a signed deal. Executing it provisions billing in Lago, or records the deal when billing runs elsewhere.
Unique identifier of the order, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
The unique number assigned to the order by Lago.
"OR-2026-0001"
The status of the order. It can be any of the following values:
created: the order has been created from a signed order form and is waiting to be executed.executed: the order has been carried out. What it produced is listed inexecution_record.failed: the execution was attempted and rolled back. The reasons are listed inexecution_record.errors. Lago does not retry on its own, so a new attempt has to be triggered through the execute endpoint.
created, executed, failed "created"
The commercial motion the quote describes. It can be any of the following values:
subscription_creation: the quote creates one or more subscriptions.subscription_amendment: the quote amends an existing subscription, named by the quote's ownlago_subscription_id.one_off: the quote bills add-ons once, without any subscription.
subscription_creation, subscription_amendment, one_off "subscription_creation"
How the order is carried out. It is null while the order has neither been scheduled nor executed. It can be any of the following values:
execute_in_lago: Lago applies the quoted deal itself, creating the subscriptions, coupons, wallets or one-off invoice it describes.order_only: Lago records the order without applying it, leaving the execution to your own systems.
null, execute_in_lago, order_only "execute_in_lago"
The currency the order is denominated in, inherited from the quote version it comes from.
null, AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BIF, BMD, BND, BOB, BRL, BSD, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ETB, EUR, FJD, FKP, GBP, GEL, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, ISK, JMD, JPY, KES, KGS, KHR, KMF, KRW, KYD, KZT, LAK, LBP, LKR, LRD, LSL, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SEK, SGD, SHP, SLL, SOS, SRD, STD, SZL, THB, TJS, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW "USD"
The date and time in UTC (ISO 8601) when the order was executed. It is null unless the status is executed.
"2026-07-01T00:00:00Z"
A trace of what the execution produced. Every key is always present, whichever the order type, so a reader never has to tell a missing key from an empty one; the keys that do not apply keep their empty value.
Which ones are filled depends on the order_type of the quote, and only for an execute_in_lago order: invoice_id for one_off, subscription_ids with applied_coupon_ids and wallet_ids for subscription_creation, and the same plus terminated_subscription_ids for subscription_amendment. An order_only order records the mode and the timestamp alone.
Unique identifier of the organization, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Unique identifier of the customer the order was placed for, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Unique identifier of the signed order form the order comes from, created by Lago. An order form carries at most one order.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
The date and time in UTC (ISO 8601) when the order was created.
"2026-04-29T08:59:51Z"
The date and time in UTC (ISO 8601) when the order was last updated.
"2026-04-29T08:59:51Z"
The billing items of the quote version the order comes from, as they stood when it was approved. This is what the execution applies. It is omitted from the webhook payloads, being a heavy blob.