LogoLogo
API StatusPartner Portal
HomeGuidesAPI ExplorerSDKsGitHubSupport
HomeGuidesAPI ExplorerSDKsGitHubSupport
  • API Concepts
    • Overview
    • Environments and URLs
    • Authentication
    • API versioning
    • Rate limiting
    • HTTP headers
    • Pagination, sorting, and filtering
  • General
  • Common
  • Accounts payable
  • Accounts receivable
  • E-invoicing
  • Payments
  • Accounting integration
  • Expense management
  • Utilities
API StatusPartner Portal
CommonCounterpart addresses

POST
/counterparts/:counterpart_id/addresses
POST
/v1/counterparts/:counterpart_id/addresses
1curl -X POST https://api.sandbox.monite.com/v1/counterparts/counterpart_id/addresses \
2 -H "x-monite-version: 2024-01-31" \
3 -H "x-monite-entity-id: 9d2b4c8f-2087-4738-ba91-7359683c49a4" \
4 -H "Authorization: Bearer <token>" \
5 -H "Content-Type: application/json" \
6 -d '{
7 "city": "Berlin",
8 "country": "AF",
9 "line1": "Flughafenstrasse 52",
10 "postal_code": "10115"
11}'
Try it
1{
2 "id": "id",
3 "city": "Berlin",
4 "counterpart_id": "counterpart_id",
5 "country": "AF",
6 "line1": "Flughafenstrasse 52",
7 "postal_code": "10115",
8 "line2": "line2",
9 "state": "state"
10}
Was this page helpful?
Previous

Get a counterpart's address

Next

Path parameters

counterpart_idstringRequired

Headers

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.
citystringRequired
City name.
countryenumRequired

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

line1stringRequired
Street address.
postal_codestringRequired
ZIP or postal code.
line2stringOptional

Additional address information (if any).

statestringOptional
State, region, province, or county.

Response

Successful Response
idstringformat: "uuid"
Unique ID of the address in the system
citystring
City name.
counterpart_idstringformat: "uuid"
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.
line2string or null

Additional address information (if any).

statestring or null
State, region, province, or county.

Errors

Create a counterpart address
Get a counterpart's address