Skip to main content
Change a company's delivery address

Authorizations

Authorization
string
header
required

Personal API key sent as a bearer token, together with X-Organization-Id. The key must have at least the access level the endpoint requires (read, write or admin).

Headers

X-Organization-Id
string

The organization to act in. Required for personal API keys; list the organizations you can access with GET /v1/organizations.

Path Parameters

id
string<uuid>
required
address_id
string<uuid>
required

Body

application/json
name
string

What people call the place, e.g. the building; printed as the delivery party.

Required string length: 1 - 500
street
string | null
Maximum string length: 500
postal_code
string | null
Maximum string length: 50
city
string | null
Maximum string length: 200
country_code
string

ISO 3166-1 alpha-2.

Pattern: ^[A-Z]{2}$
is_default
boolean

Admins only. True makes it the company's default for new orders, replacing the one marked; false unmarks it.

archived
enum<boolean>

Removes an address made in Watchdog from the choices. Orders keep their copy.

Available options:
true

Response

The address.

id
string<uuid>
required
name
string
required
street
string | null
required
postal_code
string | null
required
city
string | null
required
country_code
string | null
required

ISO 3166-1 alpha-2.

source_system
string | null
required

The accounting system it is synced from, which owns it: it changes there, not here. Null for an address made in Watchdog.

is_default
boolean
required

Marked as the company default by an Admin.