Skip to main content
DELETE
/
v1
/
customers
/
{key}
Delete customer
curl --request DELETE \
  --url https://api.example.com/v1/customers/{key}
{
  "status": 1
}

Endpoint

DELETE https://api.partnero.com/v1/customers/{key}
Deleting a customer will also remove their transaction history and affect partner commission calculations. Consider using suspend instead.

Parameters

You can identify the customer by path parameter or request body:
ParameterLocationTypeDescription
keypathstringCustomer’s unique key in the URL
keybodystringCustomer’s key in the JSON body

Request

curl --location --request DELETE 'https://api.partnero.com/v1/customers/customer_123' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Response

{
  "status": 1
}

Error responses

StatusErrorSolution
404Customer not foundCheck the customer key is correct