Update a counterpart's address

PATCH
/counterparts/:counterpart_id/addresses/:address_id

Path parameters

address_idstringRequired
counterpart_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
citystringOptional

City name.

countryenumOptional

Two-letter ISO country code (ISO 3166-1 alpha-2).

line1stringOptional

Street address.

line2stringOptional

Additional address information (if any).

postal_codestringOptional

ZIP or postal code.

statestringOptional

State, region, province, or county.

Response

Successful Response

idstring

Unique ID of the address in the system

citystring

City name.

counterpart_idstring

ID of the counterpart that owns the address.

countryenum

Two-letter ISO country code (ISO 3166-1 alpha-2).

line1string

Street address.

postal_codestring

ZIP or postal code.

line2stringOptional

Additional address information (if any).

statestringOptional

State, region, province, or county.

Errors