Skip to content

Delete Customer Profile

Permanently delete the authenticated customer's account.

Endpoint

DELETE /api/shop/customers/profile

Request Headers

HeaderRequiredDescription
X-STOREFRONT-KEYYesYour storefront API key
AuthorizationYesBearer token (customer login required)

Response Fields (200 OK)

FieldTypeDescription
messagestringSuccess message

Important Notes

⚠️ This action is irreversible

  • Account is permanently deleted
  • All personal data is removed
  • Order history is preserved (anonymized)
  • Wishlist items are deleted
  • Reviews are retained without customer info
  • Cannot be undone

Preconditions

  • All active orders must be completed/cancelled
  • No pending refunds
  • Account must be owned by authenticated customer

Use Cases

  • Remove account permanently
  • Delete personal information
  • Opt out of email marketing
  • Account cleanup

Data Retention

After deletion:

  • Account is inaccessible
  • Personal information removed
  • Orders kept for legal/tax purposes (anonymized)
  • Email cannot be reused
  • Reviews remain visible (author anonymous)

Released under the MIT License.