You are viewing an old version of the API
Delete customer

Deletes a customer from a business, along with any linked cards on file

When two profiles are merged into a single profile, that profile is assigned a new customer_id. You must use the new customer_id to delete merged profiles.

Required permissions CUSTOMERS_WRITE

Path Parameters

Name Description
customer_id
string

Required

The ID of the customer to delete.

Response Fields

Name Description
errors
Error [ ]

Any errors that occurred during the request.

Examples

You are viewing an old version of the API
DELETE /v2/customers/{customer_id}
cURL
  • cURL
  • Ruby
  • Python
curl https://connect.squareup.com/v2/customers/{customer_id} \
  -X DELETE \
  -H 'Square-Version: 2019-11-20' \
  -H 'Authorization: Bearer ACCESS_TOKEN'
Response JSON
{}

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?