Anchor to customerAddressDeletecustomer
mutationcustomer Address Delete
Requires access scope.
Deletes a specific address for a customer.
Anchor to Arguments
Arguments
- addressId (ID!)
- allowDefaultAddress (Boolean)
- Anchor to addressIdaddress•ID!
Id required The ID of the address to be deleted.
- Anchor to allowDefaultAddressallow•Boolean
Default Address Default:false Whether to delete the address when it's the customer's default address. When
true, another of the customer's remaining addresses becomes the default, or the customer has no default address if none remain.
Was this section helpful?
- deletedAddressId (ID)
- userErrors ([UserErrorsCustomerAddressUserErrors!]!)
- Anchor to deletedAddressIddeleted•ID
Address Id The ID of the deleted address.
- Anchor to userErrorsuser•[User
Errors Errors Customer Address User Errors!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?