DELETE /v2/customers/{customer_id}
Deletes a customer profile from a business. This operation also unlinks any associated cards on file.
As a best practice, you should include the version
field in the request to enable optimistic concurrency control. The value must be set to the current version of the customer profile.
To delete a customer profile that was created by merging existing profiles, you must use the ID of the newly created profile.
Servers
- https://connect.squareup.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
customer_id |
String | Yes |
The ID of the customer to delete. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
version |
Integer | No |
The current version of the customer profile. As a best practice, you should include this parameter to enable optimistic concurrency control. For more information, see Delete a customer profile. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.