checkout Query
Look up a checkout by id.
checkout(id: ID, token: UUID): Checkout
Returns
Show return type
type Checkout 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!
lastChange: DateTime! @deprecated(reason: "Use `updatedAt` instead.")
user: User
channel: Channel!
billingAddress: Address
shippingAddress: Address
customerNote: String!
note: String! @deprecated(reason: "Use `customerNote` instead.")
discount: Money
discountName: String
translatedDiscountName: String
voucher: Voucher
voucherCode: String
availableShippingMethods: [ShippingMethod!]! @deprecated(reason: "Use `shippingMethods` instead.")
shippingMethods: [ShippingMethod!]!
availableCollectionPoints: [Warehouse!]!
availablePaymentGateways: [PaymentGateway!]! @deprecated(reason: "The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.")
email: String
giftCards: [GiftCard!]!
isShippingRequired: Boolean!
quantity: Int!
stockReservationExpires: DateTime
lines: [CheckoutLine!]!
shippingPrice: TaxedMoney!
delivery: Delivery
shippingMethod: ShippingMethod @deprecated(reason: "Use `delivery` instead.")
deliveryMethod: DeliveryMethod @deprecated(reason: "Use `delivery` instead.")
subtotalPrice: TaxedMoney!
taxExemption: Boolean!
token: UUID!
totalPrice: TaxedMoney!
totalBalance: Money!
languageCode: LanguageCodeEnum!
transactions: [TransactionItem!]
displayGrossPrices: Boolean!
authorizeStatus: CheckoutAuthorizeStatusEnum!
chargeStatus: CheckoutChargeStatusEnum!
storedPaymentMethods(amount: PositiveDecimal): [StoredPaymentMethod!]
problems: [CheckoutProblem!]
}Arguments
id
id · ID
The checkout’s ID.
token
token · UUID
The checkout’s token.
Schema: Saleor 3.23.43. Download SDL.