Update customer status
With this endpoint, you can update the account status of an existing customer by customerId
.
Authorizations
The access token.
Headers
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.
"517fa9dfd42d8b00g1o3k312"
A UUID of the request.
Path Parameters
A 24-character system-generated ID of the customer. This is returned in the response of the POST /customers
endpoint.
"61a558b1b155125f02be7fb1"
Body
The status of the customer's account.
ACTIVE
, INACTIVE
, BLOCKED
"ACTIVE"
Response
The details of customer's status.
A machine-readable code.
"SUCCESS"
A human-readable message corresponding to type
.
"Success message"
The customer's account status.
ACTIVE
, INACTIVE
, BLOCKED
"ACTIVE"
Was this page helpful?