Schema Documentation

checkout

Description

The checkout mutation

Response

Returns a CheckoutPayload

Arguments
NameDescription
input - CheckoutInput! Input for the checkout mutation

Example

Query
mutation checkout($input: CheckoutInput!){  checkout(input: $input){    clientMutationIdcustomer {      ...CustomerFragment    }order {      ...OrderFragment    }redirectresult  }}
Variables
{"input":CheckoutInput}
Response
{"data":{"checkout":{"clientMutationId":"xyz789","customer":Customer,"order":Order,"redirect":"xyz789","result":"abc123"}}}