Skip to Content
OrdersFields

Order Fields

The unified order model normalizes data from all source platforms into a consistent structure.

Core Fields

FieldTypeReqDescription
idstring (UUID)Orderly internal ID
organizationIdstring (UUID)Owning organization
bridgeIdstring (UUID)Source bridge that created this order
externalIdstringID from the source platform
orderNumberstringHuman-readable order number
statusOrderStatusCurrent lifecycle status
financialStatusstringPayment status (paid, pending, refunded)
fulfillmentStatusstringFulfillment state (unfulfilled, partial, fulfilled)

Customer

FieldTypeReqDescription
customer.namestringFull name
customer.emailstringEmail address
customer.phonestringPhone number
customer.externalIdstringCustomer ID from source platform

Addresses

FieldTypeReqDescription
shippingAddress.namestringRecipient name
shippingAddress.address1stringStreet address line 1
shippingAddress.address2stringStreet address line 2
shippingAddress.citystringCity
shippingAddress.statestringState/province
shippingAddress.zipstringPostal code
shippingAddress.countrystringCountry code (ISO 3166-1 alpha-2)
shippingAddress.phonestringRecipient phone

Line Items

Each order has an array of lineItems:

FieldTypeReqDescription
lineItems[].idstringLine item ID
lineItems[].skustringProduct SKU
lineItems[].titlestringProduct title
lineItems[].quantitynumberQuantity ordered
lineItems[].pricenumberUnit price
lineItems[].weightnumberItem weight
lineItems[].variantTitlestringVariant name (size, color, etc.)
lineItems[].fulfillableQuantitynumberQuantity still needing fulfillment

Financial

FieldTypeReqDescription
subtotalPricenumberSubtotal before tax and shipping
totalTaxnumberTotal tax amount
totalShippingnumberShipping cost
totalDiscountsnumberTotal discount amount
totalPricenumberFinal total charged to customer
currencystringCurrency code (ISO 4217), e.g., "USD"

Metadata

FieldTypeReqDescription
tagsstring[]Tags for categorization and filtering
notesstringInternal notes
metadataRecord<string, unknown>Arbitrary key-value data
sourcestringSource platform identifier
sourceUrlstringLink to order in source platform

Timestamps

FieldTypeReqDescription
createdAtDateWhen the order was created in Orderly
updatedAtDateLast update time
orderDateDateWhen the order was placed on the source platform
shippedAtDateWhen the order was shipped
deliveredAtDateWhen the order was delivered