Create a counterpart address
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Path parameters
counterpart_id
Headers
x-monite-version
x-monite-entity-id
The ID of the entity that owns the requested resource.
Request
This endpoint expects an object.
city
City name.
country
Two-letter ISO country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
line1
Street address.
postal_code
ZIP or postal code.
line2
Additional address information (if any).
state
State, region, province, or county.
Response
Successful Response
id
Unique ID of the address in the system
city
City name.
counterpart_id
ID of the counterpart that owns the address.
country
Two-letter ISO country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
is_default
True if address is the default address of the counterpart.
line1
Street address.
postal_code
ZIP or postal code.
line2
Additional address information (if any).
state
State, region, province, or county.