Ttushe / docs
nsk_test_Operational

Set the customer types your product may create

Opt-in guardrail: e.g. ["business"] makes a pure-B2B product reject individual creation with 422. Editable anytime; ["individual","business"] restores both.

PUThttps://api.trytushe.com/v1/config/customers
PUT/v1/config/customers

Authorization

api-key
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "customerTypes": [      "individual",      "business"    ]  }}