PUT
/
v1
/
organizations
/
{organizationId}
/
addresses
/
{addressId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

organizationId
string
required

Fabric internal id of the record

addressId
string
required

Fabric internal id of the record

Body

application/json
type
enum<string>
required

type of the address. M=Mail, E=Email, P=Postal

Available options:
M,
E,
P
additionalAttributes
object

Contains all additional attributes not captured in the schema.

addressLine1
string

address line 1. If sent it has to contain 1 character or more.

addressLine2
string

address line 2

addressLine3
string

address line 3

addressLine4
string

address line 4

city
string

city

country
string

country

county
string

county

globalAddressId
number

global address id

groupId
string

Fabric internal id of the group record.

isDefault
boolean

Default Address

latitude
number

latitude

longitude
number

longitude

postalCode
string

postalCode

state
string

state

zipCode
number

zipCode

Response

200 - application/json
_id
string
required

Fabric internal id of the record

createdAt
string
required

date of creation of the record

isDeleted
boolean
required

flag that indicates if the record is deleted

type
enum<string>
required

type of the address. M=Mail, E=Email, P=Postal

Available options:
M,
E,
P
updatedAt
string
required

laste date of update of the record

additionalAttributes
object

Contains all additional attributes not captured in the schema.

addressLine1
string

address line 1

addressLine2
string

address line 2

addressLine3
string

address line 3

addressLine4
string

address line 4

city
string

city

country
string

country

county
string

county

globalAddressId
number

global address id

groupId
string

Fabric internal id of the group record.

isDefault
boolean

flag that indicates if the record is default

latitude
number

latitude

longitude
number

longitude

postalCode
string

postalCode

state
string

state

zipCode
number

zipCode