Preview

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

updateCart

Update an existing cart

This page contains

    Arguments

    input UpdateCartInput! PREVIEW

    UpdateCartInput fields

    cartId ID!

    Represents the ID of the cart

    customAttributes CartCustomAttributesInput PREVIEW

    Represents updated values of customAttributes of the cart

    Return Fields

    cart Cart PREVIEW

    Represets the updated cart

    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.