Delete a customer address
DELETE/customers/:lookupKey/:lookupValue/addresses/:addressId
Safely delete a specific customer address with proper validation and dependency checks.
Key Features
- Dynamic Lookup Keys: Access customers by
id
orsourceId
- Direct Address Deletion: Remove specific addresses by address ID
- Safety Validation: Prevents deletion of default addresses if they're the only address
- Clean Removal: Proper cleanup of address dependencies
- Error Handling: Clear error messages for invalid operations
Request
Responses
- 200
- 404
Delete a customer address - 200
Delete a customer address - 404 (customer)