| PUT | /customer/{boosterCustomerId} | Update customer | Update CRM customer |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| boosterCustomerId | path | int | No | Booster customer Id |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| title | form | string | No | Title e.g. 'Mr & Mrs', 'Mr.', 'Mrs.', 'Sama', 'Captain' - Mandatory only when customer type is 'PRIVATE' |
| firstName | form | string | No | First Name |
| lastName | form | string | No | Last Name - Mandatory only when customer type is 'PRIVATE' |
| firstNameNotLatin | form | string | No | First Name Not Latin |
| lastNameNotLatin | form | string | No | Last Name Not Latin |
| middleName | form | string | No | Middle Name |
| nameSuffix | form | string | No | Name Suffix |
| canBeContactedByMaison | form | bool | Yes | Can be Contacted by Maison e.g. true or false |
| clientType | form | string | Yes | Customer Type e.g. 'PRIVATE' or 'COMPANY' |
| companyName | form | string | No | Company Name - Mandatory only when customer type is 'COMPANY' |
| languageId | form | string | No | Language Id e.g. ita, chi, aze, eng, ger - Mandatory only when customer type is 'PRIVATE' |
| gender | form | string | No | Gender e.g. M, F - Mandatory only when customer type is 'PRIVATE' |
| countryId | form | string | Yes | Country Id e.g. it, cn, az, gb, de |
| birthDate | form | DateTime? | No | Birth Date e.g. '2020-12-30' |
| customerReference | form | string | No | Customer reference |
| posCode | form | string | Yes | POS Code e.g. ES100:102048 |
| brand | form | string | Yes | Brand e.g. CAR, MTB |
| weddingDate | form | DateTime? | No | Wedding Date, e.g. '2020-01-18' |
| preferredContactMethod | form | string | No | Preferred Contact Method e.g. 'Fax', 'Tel', 'EMail', 'Mail', 'Survey' |
| contactByEmailFlag | form | bool | No | Provide 'true' if you want to be contacted by email. Leave empty or 'false' if you do not. |
| contactByMailFlag | form | bool | No | Provide 'true' if you want to be contacted by mail. Leave empty or 'false' if you do not. |
| contactByPhoneFlag | form | bool | No | Provide 'true' if you want to be contacted by phone. Leave empty or 'false' if you do not. |
| contactBySMSFlag | form | bool | No | Provide 'true' if you want to be contacted by SMS. Leave empty or 'false' if you do not. |
| contactBySocialMediaFlag | form | bool | No | Provide 'true' if you want to be contacted by social media. Leave empty or 'false' if you do not. |
| saleRepresentativeEmail | form | string | No | Sale Representative Email e.g. rauf.aliyev@richemont.com |
| allowStoreDataAbroad | form | bool? | No | Consent for allowing Cross Border Data Transfer |
| tvAllowStoreDataAbroad | form | bool? | No | Consent for allowing Cross Border Data Transfer For TimeVallée |
| emails | form | List<Email> | No | Customer emails |
| phones | form | List<Phone> | No | Customer phones |
| addresses | form | List<Address> | No | Customer addresses |
| events | form | List<Event> | No | Customer events |
| interests | form | List<Interest> | No | Customer interests |
| hobbies | form | List<Hobby> | No | Customer hobbies |
| productCollections | form | List<ProductCollection> | No | Customer product collections |
| dataSharingConsent | form | bool? | No | Provide 'true' if you allow data sharing consent. Leave empty or 'false' if you do not. |
| notes | form | string | No | Notes |
| referenceSaleRepresentativeEmail | form | string | No | Reference Sale Representative Email |
| registrationDate | form | DateTime? | No | Registration Date |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| form | string | Yes | ||
| isMainEmail | form | bool | Yes | Main email |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| phone | form | string | Yes | Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456 |
| countryPrefix | form | string | Yes | Prefix Country Id e.g. it, fr, az |
| phoneType | form | string | No | Phone type e.g. 'Home', 'Mobile', 'Work', 'Other', 'Secondary Address' |
| isMainPhone | form | bool | Yes | Main Phone |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| addressType | form | string | Yes | Address type e.g. Home, Office, Shipping |
| countryId | form | string | Yes | Country Id e.g. it, cn, az, gb, de |
| houseNumber | form | string | No | House Number |
| stateId | form | string | No | Region/State |
| city | form | string | No | City Name |
| zipCode | form | string | No | Postal Code |
| street | form | string | No | Street Name and Number |
| street2 | form | string | No | Street 2 |
| street3 | form | string | No | Street 3 |
| street4 | form | string | No | Street 4 |
| street5 | form | string | No | Street 5 |
| isMainAddress | form | bool | Yes | Main Address |
| poBox | form | string | No | Post Office Box |
| additionalInformation | form | string | No | Additional Information |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| eventType | form | string | Yes | Event type e.g. 'Birthday', 'Wedding', 'Anniversary', 'Barmitza', 'Other' |
| eventDate | form | DateTime | Yes | Event date e.g. '2021-01-20' |
| eventNotes | form | string | No | Event notes |
| eventOtherName | form | string | No | Event other name |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| interest | form | string | Yes | Interest description |
| sapInterestId | form | string | Yes | SAP Interest ID, e.g. 'CA-1' |
| translation | form | string | No | Interest description translation |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| hobby | form | string | Yes | Hobby description |
| sapHobbyId | form | string | Yes | SAP Hobby ID, e.g. 'ART' |
| translation | form | string | No | Hobby description translation |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| productCollection | form | string | Yes | Product Collection description |
| sapProductCollectionId | form | string | Yes | SAP ProductCollection ID, e.g. 'CA-1' |
| translation | form | string | Yes | Product Collection description translation |
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.
PUT /customer/{boosterCustomerId} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UpdateCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.CRM.ServiceModel">
<addresses>
<Address>
<additionalInformation>String</additionalInformation>
<addressType>String</addressType>
<city>String</city>
<countryId>String</countryId>
<houseNumber>String</houseNumber>
<isMainAddress>false</isMainAddress>
<poBox>String</poBox>
<stateId>String</stateId>
<street>String</street>
<street2>String</street2>
<street3>String</street3>
<street4>String</street4>
<street5>String</street5>
<zipCode>String</zipCode>
</Address>
</addresses>
<allowStoreDataAbroad>false</allowStoreDataAbroad>
<birthDate>0001-01-01T00:00:00</birthDate>
<brand>String</brand>
<canBeContactedByMaison>false</canBeContactedByMaison>
<clientType>String</clientType>
<companyName>String</companyName>
<contactByEmailFlag>false</contactByEmailFlag>
<contactByMailFlag>false</contactByMailFlag>
<contactByPhoneFlag>false</contactByPhoneFlag>
<contactBySMSFlag>false</contactBySMSFlag>
<contactBySocialMediaFlag>false</contactBySocialMediaFlag>
<countryId>String</countryId>
<customerReference>String</customerReference>
<dataSharingConsent>false</dataSharingConsent>
<emails>
<Email>
<email>String</email>
<isMainEmail>false</isMainEmail>
</Email>
</emails>
<events>
<Event>
<eventDate>0001-01-01T00:00:00</eventDate>
<eventNotes>String</eventNotes>
<eventOtherName>String</eventOtherName>
<eventType>String</eventType>
</Event>
</events>
<firstName>String</firstName>
<firstNameNotLatin>String</firstNameNotLatin>
<gender>String</gender>
<hobbies>
<Hobby>
<hobby>String</hobby>
<sapHobbyId>String</sapHobbyId>
<translation>String</translation>
</Hobby>
</hobbies>
<interests>
<Interest>
<interest>String</interest>
<sapInterestId>String</sapInterestId>
<translation>String</translation>
</Interest>
</interests>
<languageId>String</languageId>
<lastName>String</lastName>
<lastNameNotLatin>String</lastNameNotLatin>
<middleName>String</middleName>
<nameSuffix>String</nameSuffix>
<notes>String</notes>
<phones>
<Phone>
<countryPrefix>String</countryPrefix>
<isMainPhone>false</isMainPhone>
<phone>String</phone>
<phoneType>String</phoneType>
</Phone>
</phones>
<posCode>String</posCode>
<preferredContactMethod>String</preferredContactMethod>
<productCollections>
<ProductCollection>
<productCollection>String</productCollection>
<sapProductCollectionId>String</sapProductCollectionId>
<translation>String</translation>
</ProductCollection>
</productCollections>
<referenceSaleRepresentativeEmail>String</referenceSaleRepresentativeEmail>
<registrationDate>0001-01-01T00:00:00</registrationDate>
<saleRepresentativeEmail>String</saleRepresentativeEmail>
<title>String</title>
<tvAllowStoreDataAbroad>false</tvAllowStoreDataAbroad>
<weddingDate>0001-01-01T00:00:00</weddingDate>
<boosterCustomerId>0</boosterCustomerId>
</UpdateCustomer>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />