cartDowngradeOnLogout
Downgrade a cart to guest on logout — clears the customer association, contact details, addresses and payment selection, but keeps the line items, discount codes, selected shipping method, currency and notes. The cart id and secret are unchanged (no rotation), so the stored cart-id stays valid and the buyer keeps their items as a guest. Call from the logout flow (with the cart secret) before tearing down the auth session; the next person on a shared device then sees none of the previous buyer's data.
cartDowngradeOnLogout(
cartId: ID!
): CartDowngradeOnLogoutPayload!
Arguments
cartDowngradeOnLogout.cartId ● ID! non-null scalar
UUID of the cart to downgrade to guest.
Type
CartDowngradeOnLogoutPayload object
Result of cartDowngradeOnLogout.