Przejdź do głównej zawartości

CartSelectPaymentMethodPayload

Result of cartSelectPaymentMethod.

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

Fields

CartSelectPaymentMethodPayload.cart ● Cart object

The updated cart with selectedPaymentMethod populated.

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

Business / validation errors carrying a stable CartErrorCode in code (e.g. PAYMENT_METHOD_REQUIRED, INVALID_PAYMENT_METHOD, PAYMENT_METHOD_NOT_SUPPORTED).

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

Non-fatal advisories — the mutation itself succeeded.

Returned By

cartSelectPaymentMethod mutation