Przejdź do głównej zawartości

CartUpdateLinesPayload

Result of cartUpdateLines.

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

Fields

CartUpdateLinesPayload.cart ● Cart object

The updated cart on success; null when userErrors is non-empty.

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

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

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

Non-fatal advisories — the mutation itself succeeded.

Returned By

cartUpdateLines mutation