{"id":54,"date":"2016-01-26T00:40:23","date_gmt":"2016-01-26T00:40:23","guid":{"rendered":"http:\/\/192.168.114.129\/?page_id=54"},"modified":"2023-06-24T11:10:16","modified_gmt":"2023-06-24T11:10:16","slug":"post-address","status":"publish","type":"page","link":"https:\/\/api-users.4over.com\/?page_id=54","title":{"rendered":"Create Addresses"},"content":{"rendered":"<p>Create a new Address for the Organization you are currently logged in with.<\/p>\n<h3>Resource URI<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nPOST \/organizations\/{organizations_uuid}\/users\/{users_uuid}\/contacts\/{contacts_uuid}\/addresses \r\n<\/pre>\n<h3>Input Parameters<\/h3>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n@param street {string} Street of the Address.\r\n@param street2 {string} Street2 of the Address.\r\n@param city {string} City of the Address.\r\n@param state {string} State of the Address.\r\n@param postal_code {string} Postal_code of the Address.\r\n@param country {string} 2-Character country code.\r\n\r\n@param address_uuid {uuid} UUID of the address.\r\n@param address_type_uuid {uuid} UUID of the address type.&lt;\/code&gt;\r\n<\/pre>\n<h3>Sample Request URI<\/h3>\n<p>html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\nhttps:\/\/api.4over.com\/organizations\/7c84c952-8138-45f0-bd6b-8c31fa8c4c78\/users\/fa8c952-fg658138-475fu0-bd6b-8c319r4c78\/contacts\/8c31fa952-8138-45f0-bd6b-345kjk38c4c78\/addresses \r\n<\/pre>\n<h3>Sample Request Body<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n  &quot;address&quot;: { \r\n     &quot;street&quot;: &quot;123 1st Street&quot;,\r\n     &quot;street2&quot;: &quot;&quot;,\r\n     &quot;city&quot;: &quot;Los Angeles&quot;,\r\n     &quot;state&quot;: &quot;CA&quot;,\r\n     &quot;postal_code&quot;: &quot;12345&quot;,\r\n     &quot;country&quot;: &quot;US&quot;    \r\n  },\r\n  &quot;address_type&quot;: {\r\n    &quot;address_type&quot;: &quot;Ship To&quot;\r\n  }\r\n}\r\n<\/pre>\n<h3>Sample Request Body With UUIDs<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n  &quot;address&quot;: { \r\n    &quot;address_uuid&quot;: &quot;2e15b146-d6e1-4602-9c58-ca85a40bd362&quot;\r\n  },\r\n  &quot;address_type&quot;: {\r\n    &quot;address_type_uuid&quot;: &quot;e06b5ba0-e460-4a11-a434-fda437ea65c3&quot;\r\n  }\r\n}\r\n<\/pre>\n<h3>Sample Response<\/h3>\n<p>JSON<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n{\r\n  &quot;entities&quot;: [\r\n    {\r\n      &quot;address&quot;: {\r\n        &quot;address_uuid&quot;: &quot;da4f405e-1a4a-4851-a02a-fc7a89e889a0&quot;,\r\n        &quot;street&quot;: &quot;123 1st Street&quot;,\r\n        &quot;street2&quot;: &quot;&quot;,\r\n        &quot;city&quot;: &quot;Los Angeles&quot;,\r\n        &quot;state&quot;: &quot;CA&quot;,\r\n        &quot;postal_code&quot;: &quot;12345&quot;,\r\n        &quot;country&quot;: &quot;US&quot;\r\n      },\r\n      &quot;address_type&quot;: {\r\n        &quot;address_type_uuid&quot;: &quot;999c5841-24f1-476f-a2d6-b31276bfbf04&quot;,\r\n        &quot;address_type&quot;: &quot;Primary&quot;\r\n      }\r\n    }       \r\n    ],\r\n   &quot;currentPage&quot;:0,\r\n   &quot;maximumPages&quot;:20\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Create a new Address for the Organization you are currently logged in with. Resource URI Input Parameters Sample Request URI html Sample Request Body JSON Sample Request Body With UUIDs JSON Sample Response JSON<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":52,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-54","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54"}],"version-history":[{"count":6,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/54\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/54\/revisions\/471"}],"up":[{"embeddable":true,"href":"https:\/\/api-users.4over.com\/index.php?rest_route=\/wp\/v2\/pages\/52"}],"wp:attachment":[{"href":"https:\/\/api-users.4over.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}