Przejdź do głównej zawartości

CartSetShippingAddressPayload

Result of cartSetShippingAddress.

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

Fields​

CartSetShippingAddressPayload.cart ● Cart object​

The updated cart with the new shipping address.

CartSetShippingAddressPayload.userErrors ● [UserError!]! non-null object​

Business / validation errors carrying a stable CartErrorCode in code (e.g. INVALID_ADDRESS, EMAIL_REQUIRED, PICKUP_POINT_REQUIRED).

CartSetShippingAddressPayload.warnings ● [CartWarning!]! non-null object​

Non-fatal advisories — the mutation itself succeeded.

Returned By​

cartSetShippingAddress mutation