Skip to main content

Checkout

A checkout is a temporary container for an order and its orderItems that a customer or anonymous user wants to buy

type Checkout {
checkoutType: CheckoutType!
createdAt: Date!
currency: ResonanceCurrency!
demandHqId: ID!
externalCustomerOrDeviceId: String!
order: CheckoutOrder
orderItems: [CheckoutOrderItem]
storefrontId: ID!
updatedAt: Date!
}

Fields​

Checkout.checkoutType ● CheckoutType! non-null enum​

Checkout.createdAt ● Date! non-null scalar​

Checkout.currency ● ResonanceCurrency! non-null enum​

Checkout.demandHqId ● ID! non-null scalar​

Checkout.externalCustomerOrDeviceId ● String! non-null scalar​

Checkout.order ● CheckoutOrder object​

Checkout.orderItems ● [CheckoutOrderItem] list object​

Checkout.storefrontId ● ID! non-null scalar​

Checkout.updatedAt ● Date! non-null scalar​

Returned by​

createCustomerCheckout mutation ● customerCheckout query ● updateCustomerCheckoutOrder mutation ● updateCustomerCheckoutOrderItems mutation

Member of​

ValidateCheckoutResponse object