finalizeCart is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.


Finalize the shopping cart and place order

This page contains


    input FinalizeCartInput! PREVIEW

    FinalizeCartInput fields

    cartId ID!

    Represents the ID of the cart

    agreeToTerms Boolean

    Represents the agreement of user to the Terms and Conditions

    Return Fields

    purchaseDetails PurchaseDetails PREVIEW

    Represents the details of purchase

    userErrors [FinalizeCartError] PREVIEW

    Represent errors if any

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.