Przejdź do głównej zawartości

CartDowngradeOnLogoutPayload

Result of cartDowngradeOnLogout.

type CartDowngradeOnLogoutPayload {
cart: Cart
userErrors: [UserError!]!
warnings: [CartWarning!]!
}

Fields

CartDowngradeOnLogoutPayload.cart ● Cart object

The downgraded cart on success — same id and secret (no rotation), with the customer association, contact details, addresses and payment selection cleared but line items kept. Null when userErrors is non-empty.

CartDowngradeOnLogoutPayload.userErrors ● [UserError!]! non-null object

Business / validation errors carrying a stable CartErrorCode in code (e.g. CART_NOT_FOUND).

CartDowngradeOnLogoutPayload.warnings ● [CartWarning!]! non-null object

Non-fatal advisories — the mutation itself succeeded.

Returned By

cartDowngradeOnLogout mutation