Anchor to CustomerAddressDeletePayloadCustomer
payloadCustomer Address Delete Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
Anchor to Mutations with this payloadMutations with this payload
- customerAddressDelete (CustomerAddressDeletePayload)
- •mutation
Deletes a specific address for a customer.
Show payload
- 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.
Arguments
Was this section helpful?