Skip to main content
Version: 3.x

CheckoutCreateInput

No description

input CheckoutCreateInput {
channel: String
lines: [CheckoutLineInput!]!
email: String
shippingAddress: AddressInput
billingAddress: AddressInput
languageCode: LanguageCodeEnum
validationRules: CheckoutValidationRules
}

Fields

channel (String)

Slug of a channel in which to create a checkout.

lines ([CheckoutLineInput!]!)

A list of checkout lines, each containing information about an item in the checkout.

email (String)

The customer's email address.

shippingAddress (AddressInput)

The mailing address to where the checkout will be shipped. Note: the address will be ignored if the checkout doesn't contain shippable items.

billingAddress (AddressInput)

Billing address of the customer.

languageCode (LanguageCodeEnum)

Checkout language code.

validationRules (CheckoutValidationRules)

The checkout validation rules that can be changed.

Added in Saleor 3.5.

Note: this API is currently in Feature Preview and can be subject to changes at later point.