Delete Customer Address
Delete a customer address.
Authentication
This query requires a valid customer authentication token in the Authorization header. Use the Customer Login API to retrieve the token.
Authorization: Bearer <accessToken>Arguments
| Name | Type | Required | Description |
|---|---|---|---|
addressId | String | ✅ Yes | Address ID to delete |
Response
| Field | Type | Description |
|---|---|---|
createDeleteCustomerAddress | String | Return deleted customer address object |
Important Notes
- Address must belong to the authenticated customer
- Default address cannot be deleted without setting a new default
- Addresses used in incomplete orders may be archived instead of deleted
Error Responses
json
{
"errors": {
"message": "Address not found or does not belong to this customer",
}
}
