Remove Customer Flag¶
Overview¶
Use the RemoveCustomerFlag endpoint to remove a previously added flag from a customer. This allows you to clear states
or conditions that are no longer applicable, such as when you have finished processing a customer.
Endpoint¶
POST https://api.brij.fi/brij.core.v1.partner.Service/RemoveCustomerFlag
Request Body¶
{
"customerId": "cust_abc123xyz",
"flagType": "FLAG_TYPE_PARTNER_PROCESSING"
}
Request Parameters¶
| Field | Type | Required | Description |
|---|---|---|---|
customerId |
string | Yes | Unique identifier for the customer |
flagType |
string | Yes | Type of flag to remove (see Flag Types) |
Response¶
{}
A successful response returns an empty object, indicating the flag was removed.
Error Responses¶
| Status Code | Description |
|---|---|
400 |
Invalid request parameters |
401 |
Invalid or missing API key |
404 |
Customer, partner, or flag not found |
500 |
Internal server error |
Examples¶
Example 1: Remove Processing Flag¶
Remove the processing flag from a customer after you have finished processing them:
{
"customerId": "cust_abc123xyz",
"flagType": "FLAG_TYPE_PARTNER_PROCESSING"
}