Skip to main content
POST
/
v1
/
pvt
/
Customer
/
{originalId}
/
changestatus
Change the Status of the customer in BonifiQ
curl --request POST \
  --url https://api.bonifiq.com.br/v1/pvt/Customer/{originalId}/changestatus \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "IsEnabled": true,
  "Reason": "<string>"
}
'
{
  "ErrorMessage": "<string>",
  "ErrorCode": 123,
  "Result": true,
  "HasError": true
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Path Parameters

originalId
string
required

Body

application/json
IsEnabled
boolean

If true the customer is marked as active and can receive points and participate in the program points. If false the customer is inactive and will not receive points nor will be able to redeem rewards.

Reason
string

The reason why the status has changed. This will not be visible to the customer only to administrators.

Response

200 - application/json
ErrorMessage
string | null

Error message or description

ErrorCode
integer<int32> | null

Optional error code, if available

Result
boolean
HasError
boolean

If true the request had an error.