Retrieve Addresses

This route will return addresses for the authenticated user contact.
It does not validate addresses and will not return addresses unless those addresses have been added to the address book.

Resource URI

This route will return specified user’s specific contact’s addresses.

GET organizations/{organization_uuid}/users/{user_uuid}/contacts/{contact_uuid}/addresses              

Sample Request

html

http://api.4over.com/organizations/8e404523-3658-4926-81cd-b1221b44027d/users/227f009c-645b-48a5-afdb-6138ae75e060/contacts/742c7b60-25e6-4c81-a9b7-6739853c6eb1/addresses

Sample Response Body

JSON

{
  entities: [
    {
      organization_contact_address_uuid: "658c28c2-b024-4c0a-8139-84ac9fa4a406",
      address: {
        address_uuid: "220d12c3-6872-4bd2-bd99-15d89e155f15",
        street: "2035 Main Str.",
        street2: "",
        city: "Santa Barbara",
        state: "CA",
        postal_code: "95221",
        country: "US"
      },
      address_type: {
        address_type_uuid: "d676657c-9f19-4230-85a3-e90f73669983",
        address_type: "Ship To"
      }
    },
    {
      organization_contact_address_uuid: "97dd2105-325d-44b0-8631-a6b8314c62ac",
      address: {
        address_uuid: "220d12c3-6872-4bd2-bd99-15d89e155f15",
        street: "2035 Main Str.",
        street2: "",
        city: "Santa Barbara",
        state: "CA",
        postal_code: "95221",
        country: "US"
      },
      address_type: {
        address_type_uuid: "872f416f-9bae-4334-b9ba-fa39798691a7",
        address_type: "Default Ship To"
      }
    },
    {
      organization_contact_address_uuid: "b2bbb501-a733-475d-826d-15e9000f6b75",
      address: {
        address_uuid: "220d12c3-6872-4bd2-bd99-15d89e155f15",
        street: "7085 West Broadway St.",
        street2: "",
        city: "San Diego",
        state: "CA",
        postal_code: "95421",
        country: "US"
      },
      address_type: {
        address_type_uuid: "218eef26-84d2-4ccd-9d67-f4eda9711ab8",
        address_type: "Default Ship From"
      }
    },
    {
      organization_contact_address_uuid: "56fb15d7-b6e6-4f82-b954-97d69703e6d8",
      address: {
        address_uuid: "220d12c3-6872-4bd2-bd99-15d89e155f15",
        street: "7085 West Broadway St.",
        street2: "",
        city: "San Diego",
        state: "CA",
        postal_code: "95421",
        country: "US"
      },
      address_type: {
        address_type_uuid: "ea3725bf-2fe6-449c-9b7b-ecc2e622e27f",
        address_type: "Default"
      }
    }
  ],
  currentPage: 0,
  maximumPages: 20
}