Skip to main content

completeCheckout

Completes a checkout, queueing a request to create an order, orderItems, and orderTransaction.

Requires the publiccheckout/write scope and a valid customerToken.

completeCheckout(
customerToken: String!
orderTransactionInput: CheckoutOrderTransactionInput!
): CompleteCheckoutResponse!

Arguments​

completeCheckout.customerToken ● String! non-null scalar​

completeCheckout.orderTransactionInput ● CheckoutOrderTransactionInput! non-null input​

Type​

CompleteCheckoutResponse object​

The process of checkout completion is asynchronous so there is no data (like an order id) to return to the caller.