Address | Baack docs
Address
Endpoints
ReadGET/n/v1/address/{urn}
Endpoint handling postal addresses associated with people and companies
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/address/{urn}UpdatePUT/n/v1/address/{urn}
Endpoint handling postal addresses associated with people and companies
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Request body: Address
Responses
DeleteDELETE/n/v1/address/{urn}
Endpoint handling postal addresses associated with people and companies
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 202
DELETE_SUCCESS
Webhook
POSTyour destination URL
Subject: ADDRESS
Webhook for events related to an address associated with an identity
An address associated with an identity, can be optional or multiple. Updates to address can be helpful for scenarios like when a new address is added or an address is updated in order to send customers new materials. This can be highly effective when driving changes to contract for example, to send customers updated documents or when a deliver address is amended to update shipping instructions.
Body: Webhook Event
Your response
- 200
- Return 200 status to indicate that data was received successfully
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| area | string | Optional. |
| identity | Identity | |
| officeBoxNumber | string | Optional. |
| street | string | Required on create. . |
| countryCode | string | One of: |
| addressType | string | Optional. One of: |
| postalCode | string | Required on create. . |
| locality | string | |
| region | string | Optional. |
| url | string (uri) |
Used by: Identity