Customer Profile
Update customer status
With this endpoint, you can update the account status of an existing customer by customerId
.
POST
/
customers
/
{customerId}
/
actions
/
update-status
Authorizations
Authorization
string
headerrequiredThe access token.
Headers
x-fabric-tenant-id
string
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-request-id
string
A UUID of the request.
Path Parameters
customerId
string
requiredA 24-character system-generated ID of the customer. This is returned in the response of the POST /customers
endpoint.
Body
application/json
status
enum<string>
The status of the customer's account.
Available options:
ACTIVE
, INACTIVE
, BLOCKED
Response
200 - application/json
The details of customer's status.
type
string
requiredA machine-readable code.
message
string
requiredA human-readable message corresponding to type
.
status
enum<string>
The customer's account status.
Available options:
ACTIVE
, INACTIVE
, BLOCKED
Was this page helpful?