Przejdź do głównej zawartości

CartUpdateAttributesPayload

Result of cartUpdateAttributes.

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

Fields

CartUpdateAttributesPayload.cart ● Cart object

The updated cart on success.

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

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

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

Non-fatal advisories — the mutation itself succeeded.

Returned By

cartUpdateAttributes mutation