Przejdź do głównej zawartości

CartSelectShippingMethodPayload

Result of cartSelectShippingMethod.

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

Fields

CartSelectShippingMethodPayload.cart ● Cart object

The updated cart with selectedShippingMethod populated and cost.totalShipping updated.

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

Business / validation errors carrying a stable CartErrorCode in code (e.g. SHIPPING_METHOD_REQUIRED, FORBIDDEN_SHIPPING_METHOD, ZIP_CODE_NOT_SUPPORTED).

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

Non-fatal advisories — the mutation itself succeeded.

Returned By

cartSelectShippingMethod mutation