Related Documents
Document Properties
Kbid25503B
Last Modified21-Apr-2017
Added to KB21-Jan-2014
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8

REST API - Company profile details (until 7.8)

URI

/customers/-

Http Method

GET

Short Description

Returns a response containing company profile information.

Query Parameters

none

Example Requests

/customers/-

HTTP Status Codes

200 OK
401 Unauthorized

Description

Using the authentication of currently logged in user of business customer this resource will respond with company profile details.

Cartridge

app_sf_rest_smb

Application

SMB 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.smb.capi.resource.customer.CustomerItemResource
com.intershop.sellside.rest.smb.capi.resourceobject.SMBCustomerRO

Response Example

{
    "type": "SMBCustomer",
    "description": "Agro Net is one of the leading companies for agricultural equipment.",
    "companyName": "Agro Net",
    "companyName2": "",
    "taxationID": "986d35608155",
    "industry": "",
    "customerNo": "AgroNet"
}

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.smb.capi.resource.customer.CustomerItemResource
com.intershop.sellside.rest.smb.capi.resourceobject.SMBCustomerRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SMBCustomer type="SMBCustomer">
  <customerNo>AgroNet</customerNo>
  <companyName>Agro Net</companyName>
  <companyName2>
  </companyName2>
  <description>Agro Net is one of the leading companies for agricultural equipment.</description>
  <industry>
  </industry>
  <taxationID>986d35608155</taxationID>
</SMBCustomer>

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