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.
Body
A sample request to add a new customer.
The full name of the customer.
The customer's email.
"test@example.com"
A UUID of the customer.
"1231012312-312-31231asda"
A placeholder for additional info, in key-value pairs.
{ "type": "shopper" }
Response
OK
A 24-character system-generated customer ID.
"61df41892bf06d00092d0d8a"
The full name of the customer.
The customer's email.
"test@example.com"
A flag indicating whether the customer data is deleted. true
indicates the customer data is deleted and false
indicates otherwise.
false
The time when the customer was added, in UTC format.
"2023-08-30T23:20:42.822Z"
The time when the customer details were last updated, in UTC format.
"2023-08-30T23:20:42.822Z"
The status of the customer.
ACTIVE
, INACTIVE
, BLOCKED
"ACTIVE"
A UUID of the customer.
"1231012312-312-31231asda"
A placeholder for additional info, in key-value pairs.
{ "middleName": "user" }
The time when the customer data was deleted, in UTC format.
"2023-08-30T23:20:42.822Z"