| GET | /customer/{boosterCustomerId} | Get customer details | Get Customer info based on the Booster Customer ID |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| boosterCustomerId | path | int | Yes | Booster Customer ID |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| id | form | int | Yes | Booster Customer ID |
| sapId | form | string | Yes | SAP Customer ID |
| customerReference | form | string | Yes | Customer Reference |
| gender | form | string | Yes | Gender |
| personalTitle | form | string | Yes | Personal Title |
| firstName | form | string | Yes | First Name |
| lastName | form | string | Yes | Customer Last Name |
| firstNameNotLatin | form | string | Yes | First Name Not Latin |
| lastNameNotLatin | form | string | Yes | Customer Last Name Not Latin |
| middleName | form | string | Yes | Middle Name |
| canBeContacted | form | bool | Yes | Can be contacted or not? |
| language | form | string | Yes | Language |
| countryId | form | string | Yes | Country |
| brand | form | string | Yes | Brand Trigram |
| emails | form | List<CustomerEmail> | Yes | List of Emails |
| phones | form | List<CustomerPhone> | Yes | List of Phone Numbers |
| events | form | List<CustomerEvent> | Yes | List of Events |
| registrationDate | form | DateTime? | No | Registration date |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| description | form | string | Yes | Description |
| form | string | Yes | Email Address | |
| isMain | form | bool | Yes | Is main email address |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| description | form | string | Yes | Description |
| phone | form | string | Yes | Phone Number |
| isMain | form | bool | Yes | Is main phone number |
| prefixCountryId | form | string | Yes | Phone number country prefix |
| telephonePrefix | form | string | Yes | Telephone prefix |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| eventId | form | int | Yes | Event Id |
| eventDescription | form | string | Yes | Event Description |
| eventTypeOther | form | string | Yes | Event Other |
| comment | form | string | Yes | Comment |
| eventDay | form | int? | Yes | Event Day |
| eventMonth | form | int? | Yes | Event Month |
| eventYear | form | int? | Yes | Event Year |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customer/{boosterCustomerId} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetCustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.CRM.ServiceModel">
<brand>String</brand>
<canBeContacted>false</canBeContacted>
<countryId>String</countryId>
<customerReference>String</customerReference>
<emails>
<CustomerEmail>
<description>String</description>
<email>String</email>
<isMain>false</isMain>
</CustomerEmail>
</emails>
<events>
<CustomerEvent>
<comment>String</comment>
<eventDay>0</eventDay>
<eventDescription>String</eventDescription>
<eventId>0</eventId>
<eventMonth>0</eventMonth>
<eventTypeOther>String</eventTypeOther>
<eventYear>0</eventYear>
</CustomerEvent>
</events>
<firstName>String</firstName>
<firstNameNotLatin>String</firstNameNotLatin>
<gender>String</gender>
<id>0</id>
<language>String</language>
<lastName>String</lastName>
<lastNameNotLatin>String</lastNameNotLatin>
<middleName>String</middleName>
<personalTitle>String</personalTitle>
<phones>
<CustomerPhone>
<description>String</description>
<isMain>false</isMain>
<phone>String</phone>
<prefixCountryId>String</prefixCountryId>
<telephonePrefix>String</telephonePrefix>
</CustomerPhone>
</phones>
<registrationDate>0001-01-01T00:00:00</registrationDate>
<sapId>String</sapId>
</GetCustomerResponse>