customerAddressDelete
Delete a customer address permanently from the system.
Removes the specified address from the customer's account. This action cannot be undone. Returns true if deletion was successful.
Possible errors:
- ADDRESS_DELETE_ERROR: Failed to delete the customer address in the backend service
- ADDRESS_UNKNOWN_ERROR: Unknown error occurred during customer address deletion
- FORBIDDEN: Insufficient permissions to delete customer addresses
AUTH: Role=[user.OWNER] OR (('user is authenticated') AND ('customerId if present in input matches JWT'))
customerAddressDelete(
input: CustomerAddressDeleteInput!
): Boolean!
Arguments
customerAddressDelete.input
● CustomerAddressDeleteInput!
non-null input
Customer address deletion data including address and customer identifiers.
Contains both address ID and customer ID to ensure proper ownership validation before deletion.
Type
Boolean
scalar
The Boolean
scalar type represents true
or false
.