Create a new Address for the Organization you are currently logged in with.
Resource URI
POST /organizations/{organizations_uuid}/users/{users_uuid}/contacts/{contacts_uuid}/addresses
Input Parameters
@param street {string} Street of the Address. @param street2 {string} Street2 of the Address. @param city {string} City of the Address. @param state {string} State of the Address. @param postal_code {string} Postal_code of the Address. @param country {string} 2-Character country code. @param address_uuid {uuid} UUID of the address. @param address_type_uuid {uuid} UUID of the address type.</code>
Sample Request URI
html
https://api.4over.com/organizations/7c84c952-8138-45f0-bd6b-8c31fa8c4c78/users/fa8c952-fg658138-475fu0-bd6b-8c319r4c78/contacts/8c31fa952-8138-45f0-bd6b-345kjk38c4c78/addresses
Sample Request Body
JSON
{ "address": { "street": "123 1st Street", "street2": "", "city": "Los Angeles", "state": "CA", "postal_code": "12345", "country": "US" }, "address_type": { "address_type": "Ship To" } }
Sample Request Body With UUIDs
JSON
{ "address": { "address_uuid": "2e15b146-d6e1-4602-9c58-ca85a40bd362" }, "address_type": { "address_type_uuid": "e06b5ba0-e460-4a11-a434-fda437ea65c3" } }
Sample Response
JSON
{ "entities": [ { "address": { "address_uuid": "da4f405e-1a4a-4851-a02a-fc7a89e889a0", "street": "123 1st Street", "street2": "", "city": "Los Angeles", "state": "CA", "postal_code": "12345", "country": "US" }, "address_type": { "address_type_uuid": "999c5841-24f1-476f-a2d6-b31276bfbf04", "address_type": "Primary" } } ], "currentPage":0, "maximumPages":20 }