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

Endpoint

POST https://api.partnero.com/v1/customers/{key}/suspend
This endpoint is available for affiliate programs only. For refer-a-friend programs, see referral customers.
Suspending a customer pauses their activity. Their transactions will not generate commissions while suspended. Use approve to reactivate them.

Path parameters

ParameterTypeRequiredDescription
keystringYesCustomer’s unique key

Request

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

Response

{
  "status": 1
}

Error responses

StatusErrorSolution
404Customer not foundCheck the customer key is correct