post
https://{store}/api/rest/customers2/customer_address
Allows you to create a new address for the required customer.
The Customer user type can create addresses only for themselves.
| Parameter | Type | Description |
|---|---|---|
address_type | string | billing, shipping, or billing,shipping |
email | string | |
prefix | string | Name prefix. (Mrs., Mr.) |
firstname | string | First name. |
middlename | string | Middle name. |
lastname | string | Last name. |
suffix | string | Name suffix. (Sr., Jr.) |
company | string | Address company. |
street | string | Address street. Separate lines using \n. |
city | string | Address city. |
region | string | Address region, state, or providence. |
postcode | string | Postal or zipcode. |
country_id | string | Country ID. (US, UK) |
vat_id | string | VAT ID. |
telephone | string | Telephone. |
fax | string | Fax number. |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200OK (no example documented yet)
