Richemont.Booster2.PublicApi

<back to all web services

UpdateCustomer

Requires Authentication
The following routes are available for this service:
PUT/customer/{boosterCustomerId}Update customerUpdate CRM customer
UpdateCustomer Parameters:
NameParameterData TypeRequiredDescription
boosterCustomerIdpathintNoBooster customer Id
Customer Parameters:
NameParameterData TypeRequiredDescription
titleformstringNoTitle e.g. 'Mr & Mrs', 'Mr.', 'Mrs.', 'Sama', 'Captain' - Mandatory only when customer type is 'PRIVATE'
firstNameformstringNoFirst Name
lastNameformstringNoLast Name - Mandatory only when customer type is 'PRIVATE'
firstNameNotLatinformstringNoFirst Name Not Latin
lastNameNotLatinformstringNoLast Name Not Latin
middleNameformstringNoMiddle Name
nameSuffixformstringNoName Suffix
canBeContactedByMaisonformboolYesCan be Contacted by Maison e.g. true or false
clientTypeformstringYesCustomer Type e.g. 'PRIVATE' or 'COMPANY'
companyNameformstringNoCompany Name - Mandatory only when customer type is 'COMPANY'
languageIdformstringNoLanguage Id e.g. ita, chi, aze, eng, ger - Mandatory only when customer type is 'PRIVATE'
genderformstringNoGender e.g. M, F - Mandatory only when customer type is 'PRIVATE'
countryIdformstringYesCountry Id e.g. it, cn, az, gb, de
birthDateformDateTime?NoBirth Date e.g. '2020-12-30'
customerReferenceformstringNoCustomer reference
posCodeformstringYesPOS Code e.g. ES100:102048
brandformstringYesBrand e.g. CAR, MTB
weddingDateformDateTime?NoWedding Date, e.g. '2020-01-18'
preferredContactMethodformstringNoPreferred Contact Method e.g. 'Fax', 'Tel', 'EMail', 'Mail', 'Survey'
contactByEmailFlagformboolNoProvide 'true' if you want to be contacted by email. Leave empty or 'false' if you do not.
contactByMailFlagformboolNoProvide 'true' if you want to be contacted by mail. Leave empty or 'false' if you do not.
contactByPhoneFlagformboolNoProvide 'true' if you want to be contacted by phone. Leave empty or 'false' if you do not.
contactBySMSFlagformboolNoProvide 'true' if you want to be contacted by SMS. Leave empty or 'false' if you do not.
contactBySocialMediaFlagformboolNoProvide 'true' if you want to be contacted by social media. Leave empty or 'false' if you do not.
saleRepresentativeEmailformstringNoSale Representative Email e.g. rauf.aliyev@richemont.com
allowStoreDataAbroadformbool?NoConsent for allowing Cross Border Data Transfer
tvAllowStoreDataAbroadformbool?NoConsent for allowing Cross Border Data Transfer For TimeVallée
emailsformList<Email>NoCustomer emails
phonesformList<Phone>NoCustomer phones
addressesformList<Address>NoCustomer addresses
eventsformList<Event>NoCustomer events
interestsformList<Interest>NoCustomer interests
hobbiesformList<Hobby>NoCustomer hobbies
productCollectionsformList<ProductCollection>NoCustomer product collections
dataSharingConsentformbool?NoProvide 'true' if you allow data sharing consent. Leave empty or 'false' if you do not.
notesformstringNoNotes
referenceSaleRepresentativeEmailformstringNoReference Sale Representative Email
registrationDateformDateTime?NoRegistration Date
Email Parameters:
NameParameterData TypeRequiredDescription
emailformstringYesEmail
isMainEmailformboolYesMain email
Phone Parameters:
NameParameterData TypeRequiredDescription
phoneformstringYesPhone e.g. cn: 13888889999, jp: 352858088, kr: 023123456
countryPrefixformstringYesPrefix Country Id e.g. it, fr, az
phoneTypeformstringNoPhone type e.g. 'Home', 'Mobile', 'Work', 'Other', 'Secondary Address'
isMainPhoneformboolYesMain Phone
Address Parameters:
NameParameterData TypeRequiredDescription
addressTypeformstringYesAddress type e.g. Home, Office, Shipping
countryIdformstringYesCountry Id e.g. it, cn, az, gb, de
houseNumberformstringNoHouse Number
stateIdformstringNoRegion/State
cityformstringNoCity Name
zipCodeformstringNoPostal Code
streetformstringNoStreet Name and Number
street2formstringNoStreet 2
street3formstringNoStreet 3
street4formstringNoStreet 4
street5formstringNoStreet 5
isMainAddressformboolYesMain Address
poBoxformstringNoPost Office Box
additionalInformationformstringNoAdditional Information
Event Parameters:
NameParameterData TypeRequiredDescription
eventTypeformstringYesEvent type e.g. 'Birthday', 'Wedding', 'Anniversary', 'Barmitza', 'Other'
eventDateformDateTimeYesEvent date e.g. '2021-01-20'
eventNotesformstringNoEvent notes
eventOtherNameformstringNoEvent other name
Interest Parameters:
NameParameterData TypeRequiredDescription
interestformstringYesInterest description
sapInterestIdformstringYesSAP Interest ID, e.g. 'CA-1'
translationformstringNoInterest description translation
Hobby Parameters:
NameParameterData TypeRequiredDescription
hobbyformstringYesHobby description
sapHobbyIdformstringYesSAP Hobby ID, e.g. 'ART'
translationformstringNoHobby description translation
ProductCollection Parameters:
NameParameterData TypeRequiredDescription
productCollectionformstringYesProduct Collection description
sapProductCollectionIdformstringYesSAP ProductCollection ID, e.g. 'CA-1'
translationformstringYesProduct Collection description translation

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + 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/" />