Create a counterpart address
Path parameters
counterpart_id
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
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, county, province, prefecture, region, or similar component of the counterpart's address. For US counterparts, `state` is required and must be a two-letter [USPS state abbreviation](https://pe.usps.com/text/pub28/28apb.htm), for example, NY or CA.
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)).
line1
Street address.
postal_code
ZIP or postal code.
line2
Additional address information (if any).
state
State, region, province, or county.