GET
/
customers
/
{customerId}

Authorizations

Authorization
string
headerrequired

The 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
required

A 24-character system-generated ID of the customer. This is returned in the response of the POST /customers endpoint.

Response

200 - application/json
id
string
required

A 24-character system-generated ID of the customer.

name
object
required

The full name of the customer.

emailAddress
string
required

The customer's email.

isDeleted
boolean
required

A flag indicating whether the customer's record is deleted. true indicates, the customer's record is deleted and false indicates otherwise.

createdAt
string
required

The time when the customer was added to the system, in UTC format.

updatedAt
string | null
required

The time when the customer data was last updated, in UTC format.

status
enum<string>

The account status of the customer.

Available options:
ACTIVE,
INACTIVE,
BLOCKED
phone
object
externalId
string

A UUID of the customer.

additionalAttributes
object

A placeholder for additional info, in key-value pairs.

deletedAt
string | null

The time when the customer's record was deleted, in UTC format.

defaultAddress
object[]

The default addresses of the customer.