add_party_address
Append a single postal address to a party with one atomic PUT call. Country names are validated against a canonical list to ensure data consistency.
Instructions
Append a single postal address to a party. Atomic — one PUT to Capsule. Use this instead of update_party.addresses for single-entry adds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partyId | No | ||
| street | No | ||
| city | No | ||
| state | No | ||
| country | No | Country name. Capsule validates this against a small canonical-English-name dictionary; inputs not in the dictionary are REJECTED with 422 'address.country: unknown country' (NOT silently passed through or normalised). Probed examples — accepted: `United States`, `United Kingdom`, `Czechia`, `Germany`. Aliased: `USA → United States`. Rejected: `United States of America`, `Czech Republic` (use `Czechia`), `UK`/`Britain` (use `United Kingdom`), `Deutschland` (use `Germany`). Empty string is accepted and stored as `null` — a de-facto 'clear' shape. To discover an accepted name, read an existing party that already has the country set. | |
| zip | No | ||
| type | No | Free-form label, e.g. 'Office', 'Home'. |