Magidoc

checkoutComplete
Mutation

Completes the checkout. As a result a new order is created and a payment charge is made. This action requires a successful payment before it can be performed. In case additional confirmation step as 3D secure is required confirmationNeeded flag will be set to True and no order created until payment is confirmed with second call of this mutation.

Arguments

#

checkoutId

ID !
Non-null

Checkout ID.

microsite

ID of microsite that checkout was completed from

paymentData

Client-side generated data required to finalize the payment.

poNumber

PO Number to be used when checking out with the Purchase Order payment gateway

redirectUrl

URL of a view where users should be redirected to see the order details. URL in RFC 1808 format.

storeSource

Determines whether to store the payment source for future usage.

userOverride

ID of the user to override with (only available for use by Marketplace Administrators)

vehicles

Determines whether the email sent out is catered to carriers instead of customers

volumeDiscount

Response

#

Returns CheckoutComplete .

Example

#