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


Remove items from the cart

This page contains


    input RemoveItemsInput! PREVIEW

    RemoveItemsInput fields

    cartId ID!

    Represents the ID of the cart

    itemIds [ID!]!

    Represents the items to be removed from the cart

    Return Fields

    cart Cart PREVIEW

    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.