GET
/
customers
/
self
/
customer-address

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.

Query Parameters

offset
integer

The number of records to skip before returning records. For example, when offset is 20 and limit's 10, this endpoint returns records from 21 to 30.

limit
integer

The maximum number of records in a single page.

sort
string
default: -updatedAt

The criteria to sort results, where - indicates a descending order and + indicates an ascending order. You can sort the following fields - updatedAt, country, city, and region.

isDeleted
boolean
default: false

A flag indicating whether only the deleted addresses are returned in the response. Specify true to get only the deleted addresses and false to get only the non-deleted ones.

Response

200 - application/json

The list of customer addresses for the customerId.

query
object

The pagination criteria.

data
object[]

addresses of the sent customer