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.
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, 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.
line1
Street address.
postal_code
ZIP or postal code.
line2
Additional address information (if any).
state
State, region, province, or county.
Errors
401
Post Counterparts ID Addresses Request Unauthorized Error
403
Post Counterparts ID Addresses Request Forbidden Error
404
Post Counterparts ID Addresses Request Not Found Error
422
Post Counterparts ID Addresses Request Unprocessable Entity Error
429
Post Counterparts ID Addresses Request Too Many Requests Error