Related Documents
Document Properties
Kbid252P56
Last Modified10-Jul-2017
Added to KB15-Oct-2013
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8

REST API - Get private customer profile details (until 7.8)

URI

/customers/-

Http Method

GET

Short Description

Gets the profile details of a currently authenticated private customer.

Query Parameters

none

Example Requests

/customers/-

HTTP Status Codes

200 OK
401 Unauthorized

Description

Gets the profile details of a currently authenticated private customer.

Cartridge

app_sf_rest_b2c

Application

B2C Web Shop

Product Version

7.4

Product To Version

7.8

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.b2c.capi.resourceobject.PrivateCustomerRO
com.intershop.sellside.rest.b2c.capi.resource.customer.PrivateCustomerItemResource

Response Example

 {    "type": "Customer",
    "fax": "",
    "phoneHome": "",
    "firstName": "Patricia",
    "lastName": "Miller",
    "title": "",
    "phoneBusiness": "",
    "email": "patricia@test.intershop.de",
    "phoneMobile": "",
    "customerNo": "Patricia"
}

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.b2c.capi.resourceobject.PrivateCustomerRO
com.intershop.sellside.rest.b2c.capi.resource.customer.PrivateCustomerItemResource

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PrivateCustomer type="Customer">
  <customerNo>Patricia</customerNo>
  <email>patricia@test.intershop.de</email>
  <fax>
  </fax>
  <firstName>Patricia</firstName>
  <lastName>Miller</lastName>
  <phoneBusiness>
  </phoneBusiness>
  <phoneHome>
  </phoneHome>
  <phoneMobile>
  </phoneMobile>
  <title>
  </title>
</PrivateCustomer>

Reference - WebShop REST APIs

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
Support Tickets