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


Update an existing cart custom attributes

This page contains


    input UpdateCartCustomAttributesInput! PREVIEW

    UpdateCartCustomAttributesInput fields

    cartId ID!

    Represents the ID of the cart

    customAttributes CartCustomAttributesInput PREVIEW

    Represents updated values of customAttributes of the cart

    items [UpdateCartItemCustomAttributesInput!] PREVIEW

    Represents the updated cart items with updated customAttributes data

    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.