Skip to main content
Anchor to CustomerAddressUpdatePayload

CustomerAddressUpdatePayload

payload

Return type for customerAddressUpdate mutation.

•MailingAddress

The updated address.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates a Customer's MailingAddress. You can modify any field of the address and optionally set it as the customer's default address.

Arguments

•ID!
required

The ID of the customer whose address is being updated.

•ID!
required

The ID of the address to update.

•MailingAddressInput!
required

Specifies the fields to use when updating the address.

•Boolean

Whether to set the address as the customer's default address.



Was this section helpful?