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

Endpoint

POST https://api.partnero.com/v1/customers/{key}/approve
This endpoint is available for affiliate programs only.
Approving a customer reactivates them after they have been suspended. Their transactions will resume generating commissions.

Path parameters

ParameterTypeRequiredDescription
keystringYesCustomer’s unique key

Request

cURL
curl --location --request POST 'https://api.partnero.com/v1/customers/customer_123/approve' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Response

{
  "status": 1
}

Error responses

StatusErrorSolution
404Customer not foundCheck the customer key is correct