New: Stripe & TossPayments integration guides now available →
curl --request DELETE \
--url https://api.headlesscommerce.io/v1/admin/customers/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"deleted": true
}For GDPR and other data deletion requests. Anonymizes customer PII (name, email, phone, address) and sets status to disabled. Existing order data is retained, but personally identifiable information is masked.
curl --request DELETE \
--url https://api.headlesscommerce.io/v1/admin/customers/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"deleted": true
}