Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

Order Object

Represents an order in the shop.

type Order implements Node & ObjectWithMetadata {
  id: ID!
  privateMetadata: [MetadataItem!]!
  privateMetafield(key: String!): String
  privateMetafields(keys: [String!]): Metadata
  metadata: [MetadataItem!]!
  metafield(key: String!): String
  metafields(keys: [String!]): Metadata
  created: DateTime!
  updatedAt: DateTime!
  status: OrderStatus!
  user: User
  trackingClientId: String!
  billingAddress: Address
  shippingAddress: Address
  shippingMethodName: String
  collectionPointName: String
  channel: Channel!
  fulfillments: [Fulfillment!]!
  lines: [OrderLine!]!
  actions: [OrderAction!]!
  availableShippingMethods: [ShippingMethod!] @deprecated(reason: "Use `shippingMethods`, this field will be removed in 4.0")
  shippingMethods: [ShippingMethod!]!
  availableCollectionPoints: [Warehouse!]!
  invoices: [Invoice!]!
  number: String!
  original: ID
  origin: OrderOriginEnum!
  isPaid: Boolean!
  paymentStatus: PaymentChargeStatusEnum!
  paymentStatusDisplay: String!
  authorizeStatus: OrderAuthorizeStatusEnum!
  chargeStatus: OrderChargeStatusEnum!
  taxExemption: Boolean!
  transactions: [TransactionItem!]!
  transactionSummaries: [TransactionSummary!]!
  payments: [Payment!]! @deprecated(reason: "The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.")
  total: TaxedMoney!
  undiscountedTotal: TaxedMoney!
  shippingMethod: ShippingMethod @deprecated(reason: "Use `deliveryMethod` instead.")
  undiscountedShippingPrice: Money!
  shippingPrice: TaxedMoney!
  shippingTaxRate: Float!
  shippingTaxClass: TaxClass
  shippingTaxClassName: String
  shippingTaxClassMetadata: [MetadataItem!]!
  shippingTaxClassPrivateMetadata: [MetadataItem!]!
  token: String! @deprecated(reason: "Use `id` instead.")
  voucher: Voucher
  voucherCode: String
  giftCards: [GiftCard!]!
  customerNote: String!
  weight: Weight!
  redirectUrl: String
  subtotal: TaxedMoney!
  statusDisplay: String!
  canFinalize: Boolean!
  totalAuthorized: Money!
  totalCaptured: Money! @deprecated(reason: "Use `totalCharged` instead.")
  totalCharged: Money!
  totalCanceled: Money!
  events: [OrderEvent!]!
  totalBalance: Money!
  userEmail: String
  isShippingRequired: Boolean!
  deliveryMethod: DeliveryMethod
  languageCode: String! @deprecated(reason: "Use the `languageCodeEnum` field to fetch the language code.")
  languageCodeEnum: LanguageCodeEnum!
  discount: Money @deprecated(reason: "Use the `discounts` field instead.")
  discountName: String @deprecated(reason: "Use the `discounts` field instead.")
  translatedDiscountName: String @deprecated(reason: "Use the `discounts` field instead.")
  discounts: [OrderDiscount!]!
  errors: [OrderError!]!
  displayGrossPrices: Boolean!
  externalReference: String
  checkoutId: ID
  grantedRefunds: [OrderGrantedRefund!]!
  totalGrantedRefund: Money!
  totalRefunded: Money!
  totalRefundPending: Money!
  totalAuthorizePending: Money!
  totalChargePending: Money!
  totalCancelPending: Money!
  totalRemainingGrant: Money!
}

Interfaces

Node, ObjectWithMetadata

Fields

id

id · ID!

ID of the order.

privateMetadata

privateMetadata · [MetadataItem!]!

List of private metadata items. Requires staff permissions to access.

privateMetafield

privateMetafield · String

A single key from private metadata. Requires staff permissions to access.

Tip: Use GraphQL aliases to fetch multiple keys.

key

key · String!

privateMetafields

privateMetafields · Metadata

Private metadata. Requires staff permissions to access. Use keys to control which fields you want to include. The default is to include everything.

keys

keys · [String!]

metadata

metadata · [MetadataItem!]!

List of public metadata items. Can be accessed without permissions.

metafield

metafield · String

A single key from public metadata.

Tip: Use GraphQL aliases to fetch multiple keys.

key

key · String!

metafields

metafields · Metadata

Public metadata. Use keys to control which fields you want to include. The default is to include everything.

keys

keys · [String!]

created

created · DateTime!

Date and time when the order was created.

updatedAt

updatedAt · DateTime!

Date and time when the order was created.

status

status · OrderStatus!

Status of the order.

user

user · User

User who placed the order. This field is set only for orders placed by authenticated users. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_USERS, MANAGE_ORDERS, HANDLE_PAYMENTS, OWNER.

trackingClientId

trackingClientId · String!

Google Analytics tracking client ID.

billingAddress

billingAddress · Address

Billing address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.

shippingAddress

shippingAddress · Address

Shipping address. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.

shippingMethodName

shippingMethodName · String

Method used for shipping.

collectionPointName

collectionPointName · String

Name of the collection point where the order should be picked up by the customer.

channel

channel · Channel!

Channel through which the order was placed.

fulfillments

fulfillments · [Fulfillment!]!

List of shipments for the order.

lines

lines · [OrderLine!]!

List of order lines.

actions

actions · [OrderAction!]!

List of actions that can be performed in the current state of an order.

availableShippingMethods

availableShippingMethods · [ShippingMethod!]

Shipping methods that can be used with this order.

shippingMethods

shippingMethods · [ShippingMethod!]!

Shipping methods related to this order.

availableCollectionPoints

availableCollectionPoints · [Warehouse!]!

Collection points that can be used for this order.

invoices

invoices · [Invoice!]!

List of order invoices. Can be fetched for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.

number

number · String!

User-friendly number of an order.

original

original · ID

The ID of the order that was the base for this order.

origin

origin · OrderOriginEnum!

The order origin.

isPaid

isPaid · Boolean!

Informs if an order is fully paid.

paymentStatus

paymentStatus · PaymentChargeStatusEnum!

Internal payment status.

paymentStatusDisplay

paymentStatusDisplay · String!

User-friendly payment status.

authorizeStatus

authorizeStatus · OrderAuthorizeStatusEnum!

The authorize status of the order.

chargeStatus

chargeStatus · OrderChargeStatusEnum!

The charge status of the order.

taxExemption

taxExemption · Boolean!

Returns True if order has to be exempt from taxes.

transactions

transactions · [TransactionItem!]!

List of transactions for the order.

Requires one of the following permissions:MANAGE_ORDERSHANDLE_PAYMENTS

transactionSummaries

transactionSummaries · [TransactionSummary!]!

Payment history of the order, with one entry per payment transaction that moved any money. Unlike transactions, it requires no permission and exposes only the payment method and the amounts, so it can be used to display payment details to the customer without exposing internal information.

Added in Saleor 3.23

payments

payments · [Payment!]!

List of payments for the order.

total

total · TaxedMoney!

Total amount of the order.

undiscountedTotal

undiscountedTotal · TaxedMoney!

Undiscounted total amount of the order.

shippingMethod

shippingMethod · ShippingMethod

Shipping method for this order.

undiscountedShippingPrice

undiscountedShippingPrice · Money!

Undiscounted total price of shipping.

shippingPrice

shippingPrice · TaxedMoney!

Total price of shipping.

shippingTaxRate

shippingTaxRate · Float!

The shipping tax rate value.

shippingTaxClass

shippingTaxClass · TaxClass

Denormalized tax class assigned to the shipping method.

Requires one of the following permissions:AUTHENTICATED_STAFF_USERAUTHENTICATED_APP

shippingTaxClassName

shippingTaxClassName · String

Denormalized name of the tax class assigned to the shipping method.

shippingTaxClassMetadata

shippingTaxClassMetadata · [MetadataItem!]!

Denormalized public metadata of the shipping method’s tax class.

shippingTaxClassPrivateMetadata

shippingTaxClassPrivateMetadata · [MetadataItem!]!

Denormalized private metadata of the shipping method’s tax class. Requires staff permissions to access.

token

token · String!

voucher

voucher · Voucher

Voucher linked to the order.

voucherCode

voucherCode · String

Voucher code that was used for Order.

giftCards

giftCards · [GiftCard!]!

List of user gift cards.

customerNote

customerNote · String!

Additional information provided by the customer about the order.

weight

weight · Weight!

Weight of the order.

redirectUrl

redirectUrl · String

URL to which user should be redirected after order is placed.

subtotal

subtotal · TaxedMoney!

The sum of line prices not including shipping.

statusDisplay

statusDisplay · String!

User-friendly order status.

canFinalize

canFinalize · Boolean!

Informs whether a draft order can be finalized(turned into a regular order).

totalAuthorized

totalAuthorized · Money!

Amount authorized for the order.

totalCaptured

totalCaptured · Money!

Amount captured for the order.

totalCharged

totalCharged · Money!

Amount charged for the order.

totalCanceled

totalCanceled · Money!

Amount canceled for the order.

events

events · [OrderEvent!]!

List of events associated with the order.

Requires one of the following permissions:MANAGE_ORDERS

totalBalance

totalBalance · Money!

The difference between the paid and the order total amount.

userEmail

userEmail · String

Email address of the customer. The full data can be access for orders created in Saleor 3.2 and later, for other orders requires one of the following permissions: MANAGE_ORDERS, OWNER.

isShippingRequired

isShippingRequired · Boolean!

Returns True, if order requires shipping.

deliveryMethod

deliveryMethod · DeliveryMethod

The delivery method selected for this order.

languageCode

languageCode · String!

languageCodeEnum

languageCodeEnum · LanguageCodeEnum!

Order language code.

discount

discount · Money

Returns applied discount.

discountName

discountName · String

Discount name.

translatedDiscountName

translatedDiscountName · String

Translated discount name.

discounts

discounts · [OrderDiscount!]!

List of all discounts assigned to the order.

errors

errors · [OrderError!]!

List of errors that occurred during order validation.

displayGrossPrices

displayGrossPrices · Boolean!

Determines whether displayed prices should include taxes.

externalReference

externalReference · String

External ID of this order.

checkoutId

checkoutId · ID

ID of the checkout that the order was created from.

grantedRefunds

grantedRefunds · [OrderGrantedRefund!]!

List of granted refunds.

Requires one of the following permissions:MANAGE_ORDERS

totalGrantedRefund

totalGrantedRefund · Money!

Total amount of granted refund.

Requires one of the following permissions:MANAGE_ORDERS

totalRefunded

totalRefunded · Money!

Total refund amount for the order.

totalRefundPending

totalRefundPending · Money!

Total amount of ongoing refund requests for the order’s transactions.

Requires one of the following permissions:MANAGE_ORDERS

totalAuthorizePending

totalAuthorizePending · Money!

Total amount of ongoing authorize requests for the order’s transactions.

Requires one of the following permissions:MANAGE_ORDERS

totalChargePending

totalChargePending · Money!

Total amount of ongoing charge requests for the order’s transactions.

Requires one of the following permissions:MANAGE_ORDERS

totalCancelPending

totalCancelPending · Money!

Total amount of ongoing cancel requests for the order’s transactions.

Requires one of the following permissions:MANAGE_ORDERS

totalRemainingGrant

totalRemainingGrant · Money!

The difference amount between granted refund and the amounts that are pending and refunded.

Requires one of the following permissions:MANAGE_ORDERS

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?