Related Documents
Document Properties
Kbid28523N
Last Modified23-Jun-2020
Added to KB04-Jan-2018
Public AccessEveryone
StatusOnline
Doc TypeReferences
ProductICM 7.7

REST API - Get customer address details (7.7)

URI

/customers/-/addresses/<address-id>

Http Method

GET

Short Description

Retrieves and returns details about customer's address to the client.

Query Parameters

none

Example Requests

/customers/-/addresses/cokKCgoKKaEAAAE_4SIKfNMG

HTTP Status Codes

200 OK
401 Unauthorized 
404 Not found 

       Possible values for header ‘error-key’:

    • customer.address_not_found.error

Description

Returns an address details to the client.

Cartridge

app_sf_rest

Application

B2C Web Shop, SMB Web Shop

Product Version

7.7

Product To Version

7.7

Status

final

JSON

Request Data Format

Request related java object

n/a

Request Example

n/a

Response Data Format

application/json

Response related java object

com.intershop.sellside.rest.common.capi.resource.customer.address.CustomerAddressItemResource
com.intershop.sellside.rest.common.capi.resourceobject.AddressRO

Response Example

{
    "type": "Address",
    "id": "5SsKAM6Lxa8AAAFfZXU2PE6S",
    "addressName": "Patricia Miller, Berliner Str. 20, Potsdam",
    "title": "Mrs.",
    "firstName": "Patricia",
    "lastName": "Miller",
    "company": "Intershop Communications AG",
    "companyName2": "Berlin Office",
    "street": "Berliner Str. 20",
    "postalCode": "14482",
    "phoneHome": "049364112677",
    "country": "Germany",
    "countryCode": "DE",
    "city": "Potsdam",
    "preferredBillingAddress": "true",
    "preferredShippingAddress": "true"
}

XML

XML Request Data Format

XML Request Java Objects

n/a

XML Request Example

n/a

XML Response Data Format

text/xml

XML Response Java Objects

com.intershop.sellside.rest.common.capi.resource.customer.address.CustomerAddressItemResource
com.intershop.sellside.rest.common.capi.resourceobject.AddressRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Address type="Address">
    <addressName>Patricia Miller, Berliner Str. 20, Potsdam</addressName>
    <city>Potsdam</city>
    <company>Intershop Communications AG</company>
    <companyName2>Berlin Office</companyName2>
    <country>Germany</country>
    <countryCode>DE</countryCode>
    <firstName>Patricia</firstName>
    <id>5SsKAM6Lxa8AAAFfZXU2PE6S</id>
    <lastName>Miller</lastName>
    <phoneHome>049364112677</phoneHome>
    <postalCode>14482</postalCode>
    <preferredBillingAddress>true</preferredBillingAddress>
    <preferredShippingAddress>true</preferredShippingAddress>
    <street>Berliner Str. 20</street>
    <title>Mrs.</title>
</Address>

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Tickets