Create address
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
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.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Body
type of the address. M=Mail, E=Email, P=Postal
M
, E
, P
"M"
global address id
1234
address line 1. If sent it has to contain 1 character or more.
"street 1"
address line 2
"street 2"
address line 3
"street 3"
address line 4
"street 4"
county
"San Diego"
city
"Boston"
state
"Texas"
zipCode
12345
postalCode
"ABC-123"
country
"USA"
latitude
38.8951
longitude
-77.0364
flag that indicates if the address is default
false
Contains all additional attributes not captured in the schema.
Response
Fabric internal id of the record
"61604a30fdfacd0009816e44"
type of the address. M=Mail, E=Email, P=Postal
M
, E
, P
"M"
flag that indicates if the record is deleted
false
flag that indicates if the record is default
false
date of creation of the record
"2021-08-30T23:20:42.822Z"
laste date of update of the record
"2021-08-30T23:20:42.822Z"
global address id
1234
address line 1
"street 1"
address line 2
"street 2"
address line 3
"street 3"
address line 4
"street 4"
county
"San Diego"
city
"Boston"
state
"Texas"
zipCode
12345
postalCode
"ABC-123"
country
"USA"
latitude
38.8951
longitude
-77.0364
Contains all additional attributes not captured in the schema.