Tags:
- Action Required
- Storefront GraphQL API
- 2025-10
The cartDeliveryAddressesUpdate
mutation now supports removing all addresses from a cart
cartDeliveryAddressesUpdate
mutation now supports removing all addresses from a cartTo clear all delivery addresses associated with a cart, you can now call the mutation and set
addresses
to an empty array([]
).
Previously, to clear a cart’s addresses, you could call the mutation and set
to an empty array. However,
is deprecated.
Action required before API version 2025-10
Review your existing code. Starting with API version 2025-10, setting the addresses
field of the mutation to an empty array (
[]
) clears cart addresses. If you do not want this behavior, update your code.
Was this section helpful?