INPUT_OBJECT

CheckoutCreateInput

Specifies the fields required to create a checkout.

link GraphQL Schema definition

  • input CheckoutCreateInput {
  • # The email with which the customer wants to checkout.
  • email: String
  • # A list of line item objects, each one containing information about an item in
  • # the checkout.
  • lineItems: [CheckoutLineItemInput!]
  • # The shipping address to where the line items will be shipped.
  • shippingAddress: MailingAddressInput
  • # The text of an optional note that a shop owner can attach to the checkout.
  • note: String
  • # A list of extra information that is added to the checkout.
  • customAttributes: [AttributeInput!]
  • # Allows setting partial addresses on a Checkout, skipping the full validation of
  • # attributes.
  • # The required attributes are city, province, and country.
  • # Full validation of addresses is still done at complete time.
  • allowPartialAddresses: Boolean
  • }