POST
/
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.

Body

application/json
address
object
required

The address details.

isDefault
boolean

A flag indicating whether the address is the default one. true indicates the address is the default address and false indicates otherwise.

additionalAttributes
object

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

Response

201 - application/json
id
string
required

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

address
object
required

The address details.

isDeleted
boolean
required

A flag indicating whether the address is deleted. true indicates the address is deleted and false indicates otherwise.

createdAt
string
required

The time when the address was created, in UTC format.

updatedAt
string | null
required

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

additionalAttributes
object

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

isDefault
boolean

A flag indicating whether the address is the default one.true indicates the given address is the default address and false indicates otherwise.

deletedAt
string | null

The time when the address was deleted, in UTC format.