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


Update items of an existing cart

This page contains


    input UpdateCartItemsInput! PREVIEW

    UpdateCartItemsInput fields

    cartId ID!

    Represents the ID of the cart

    items [UpdateCartItemInput!]! PREVIEW

    Represents the updated cart items with updated fields data

    Return Fields

    cart Cart PREVIEW

    Represets the updated cart

    userErrors [UpdateCartItemsError!] PREVIEW

    Details of errors occurred while updating a cart items

    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.