Anchor to CustomerAddressUpdatePayloadCustomer
payloadCustomer Address Update Payload
Return type for mutation.
Anchor to FieldsFields
- address (MailingAddress)
- userErrors ([UserError!]!)
- Anchor to addressaddress•Mailing
Address The updated address.
- Anchor to userErrorsuser•[User
Errors Error!]! 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
- customerAddressUpdate (CustomerAddressUpdatePayload)
- •mutation
Updates a
Customer's. You can modify any field of the address and optionally set it as the customer's default address.- Anchor to customerIdcustomer•ID!
Id required The ID of the customer whose address is being updated.
- Anchor to addressIdaddress•ID!
Id required The ID of the address to update.
- Anchor to addressaddress•Mailing
Address Input! required Specifies the fields to use when updating the address.
- Anchor to setAsDefaultset•Boolean
As Default Whether to set the address as the customer's default address.
Arguments
Was this section helpful?