Skip to main content
POST
/
v1
/
party-addresses
Link Party and Address
curl --request POST \
  --url https://live.copilot.fabric.inc/data-customer/v1/party-addresses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-site-context: <x-site-context>' \
  --data '{
  "partyId": "61a78306e8da185843857fc3",
  "addressId": "61a78310e8da185843857fc5",
  "additionalAttributes": {}
}'
{
  "_id": "61604a30fdfacd0009816e44",
  "partyId": "61a78306e8da185843857fc3",
  "addressId": "61a78310e8da185843857fc5",
  "additionalAttributes": {},
  "isDeleted": false,
  "createdAt": "2021-08-30T23:20:42.822Z",
  "updatedAt": "2021-08-30T23:20:42.822Z"
}

Authorizations

Authorization
string
header
required

Headers

x-site-context
string
required
Example:

Body

application/json
partyId
string
Example:
addressId
string
Example:
additionalAttributes
object

Response

_id
string
Example:
partyId
string
Example:
addressId
string
Example:
additionalAttributes
object
isDeleted
boolean
Example:
createdAt
string<date-time>
Example:
updatedAt
string<date-time>
Example: