Order Object


Create and manage eCommerce orders

Properties
idstringRead-onlyformat GUID

Order ID.


numbernumberRead-only

Order number displayed in the site owner's dashboard (auto-generated).


createdDatestringRead-onlyformat date-time

Date and time the order was created in ISO-8601 format.


updatedDatestringRead-onlyformat date-time

Date and time the order was last updated in ISO-8601 format.


lineItemsArray <OrderLineItem>Read-onlyminItems 1maxItems 300

Order line items.


buyerInfoBuyerInfo

Buyer information.


paymentStatusstring

Order payment status.

  • NOT_PAID - This can be an order made online, but not yet paid. In such cases order.status will be INITIALIZED.
  • This status also applies when an offline order needs to be manually marked as paid. In such cases order.status will be APPROVED.
  • PAID - All payments associated with this order are paid. For online payments: payment.regularPaymentDetails.status: APPROVED. For gift cards: payment.giftCardPaymentDetails.voided: false.
  • PARTIALLY_REFUNDED - Order was refunded, but refund amount is less than order total price.
  • FULLY_REFUNDED - Order fully refunded. Refund amount equals total price.
  • PENDING - Payments received but not yet confirmed by the payment provider.
  • PARTIALLY_PAID - At least one payment was received and approved, covering less than total price amount.

fulfillmentStatusstringRead-only

Order fulfillment status.


buyerLanguagestring

Language for communication with the buyer. Defaults to the site language. For a site that supports multiple languages, this is the language the buyer selected.


weightUnitstring

Weight measurement unit - defaults to site's weight unit.


currencystringformat CURRENCY

Currency used for the pricing of this order in ISO-4217 format.


taxIncludedInPricesboolean

Whether tax is included in line item prices.


siteLanguagestringRead-only

Site language in which original values are shown.


priceSummaryPriceSummaryRead-only

Order price summary.


billingInfoBillingInfo

Billing address and contact details.


shippingInfoShippingInfo

Shipping info and selected shipping option details.


buyerNotestringmaxLength 1000

Buyer note left by the customer.


statusstring

Order status.

  • INITIALIZED: Order created, but not yet approved or canceled.
  • APPROVED: Order approved. This happens when either an online payment is received or when order.priceSummary.total = 0 (a zero-total order). Offline orders (cash payment) are automatically approved.
  • CANCELED: Order canceled by the user.

archivedboolean

Whether order is archived.


taxSummaryTaxSummarydeprecated - use taxInfo instead

Tax summary. Deprecated. Use taxInfo instead. This field will be removed on September 30, 2024.


taxInfoTaxInfo

Tax information.


appliedDiscountsArray <AppliedDiscount>

Applied discounts.


activitiesArray <Activity>Read-onlymaxItems 1000

Order activities.


attributionSourcestring

Order attribution source.


createdByCreatedByRead-only

ID of the order's initiator.


channelInfoChannelInfo

Information about the sales channel that submitted this order.


seenByAHumanboolean

Whether a human has seen the order. Set when an order is clicked on in the dashboard.


checkoutIdstringformat GUID

Checkout ID.


customFieldsArray <CustomField>

Custom fields.


balanceSummaryBalanceSummaryRead-only

Balance summary.


additionalFeesArray <AdditionalFee>maxItems 100

Additional fees applied to the order.


extendedFieldsExtendedFields

Custom field data for the order object.

Extended fields must be configured in the app dashboard before they can be accessed with API calls.


purchaseFlowIdstringformat GUID

Persistent ID that correlates between the various eCommerce elements: cart, checkout, and order.


recipientInfoRecipientInfo

Order recipient address and contact details.

This field may differ from the address in shippingInfo.logistics when:

  • The chosen shipping option is pickup point or store pickup.
  • No shipping option is selected.

purchasedDatestringbetaformat date-time

Date and time the order was originally purchased in ISO-8601 format. Used for migration from external systems.

Did this help?