PATCH
/
carts
/
{cartId}
/
addresses
/
{addressId}

Authorizations

Authorization
string
headerrequired

This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.

Headers

x-fabric-tenant-id
string
required

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

Unique request ID for tracking.

x-fabric-channel-id
string

x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is a required field. The default US channel is 12 while the default Canada channel is 11.

Path Parameters

cartId
string
required

The 24-character system-generated Cart ID. This ID is generated using the Create cart endpoint.

addressId
string
required

The Address ID that was generated when an address was created using the Create address endpoint.

Body

application/json

Address

name
object
email
string

Email

phone
object
addressLine1
string

Address line 1

addressLine2
string

Address line 2

addressLine3
string

Address line 3

addressLine4
string

Address line 4

city
string

City

region
string

State, Province or Area

country
string

Country

postalCode
string

Postal code or zip code

Response

200 - application/json

Address

id
string

The Address ID generated when an address was created using the Create address endpoint.

name
object

Name of the recipient of the order.

email
string

Email

phone
object

Phone

addressLine1
string

Address line 1

addressLine2
string

Address line 2

addressLine3
string

Address line 3

addressLine4
string

Address line 4

city
string

City

region
string

State, Province or Area

country
string

Country

postalCode
string

Postal code or zip code

updatedAt
string

The date and time the address was last updated.

createdAt
string

The date and time the address was created.