|
Create one or more addresses for an existing client. Note that this takes an array of addresses even if only creating one.
Name | Description | Type | Presence | Location | Limitations |
---|---|---|---|---|---|
client_id | The ID of the specific Client | Integer | Required | URI | |
label | Arbitrary description, like 'home' or 'office' | String | Optional | Body | 20 characters max |
name | Name of the person at this address | String | Optional | Body | |
company | Company name in the address | String | Optional | Body | 50 characters max |
street_address | Street address of the new address | String | Optional | Body | |
extended_address | Second line of the street address | String | Optional | Body | |
locality | City | String | Optional | Body | |
region | State or province | String | Optional | Body | |
postal_code | Zip code | String | Optional | Body | |
country_code | 2 digit ISO 3166-1 alpha-2 Country Code | String | Optional | Body | |
primary | Indicate that this is the primary address for this client. | Boolean | Optional | Body | |
is_primary_shipping | Indicate that this is the primary shipping address for this client. | Boolean | Optional | Body | |
is_primary_billing | Indicate that this is the primary billing address for this client. | Boolean | Optional | Body |
Request | Response | ||
---|---|---|---|
POST /clients/168019/addresses | |||
Create a single address.
|
| ||
Create multiple addresses for the same client in a single request.
|
|