Skip to main content

checkoutBillingAddressUpdate Mutation

Updates billing address in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.
checkoutBillingAddressUpdate(
billingAddress: AddressInput!
checkoutId: ID
id: ID
saveAddress: Boolean = true
token: UUID
validationRules: CheckoutAddressValidationRules
): CheckoutBillingAddressUpdate
Show return type

Arguments

billingAddress ● AddressInput!

The billing address of the checkout.

id ● ID

The checkout's ID.

saveAddress ● Boolean

Indicates whether the billing address should be saved to the user’s address book upon checkout completion. If not provided, the default behavior is to save the address.

Added in Saleor 3.21

validationRules ● CheckoutAddressValidationRules

The rules for changing validation for received billing address data.

Show deprecated

Type

CheckoutBillingAddressUpdate

Updates billing address in the existing checkout.

Triggers the following webhook events:

  • CHECKOUT_UPDATED (async): A checkout was updated.