Update the guest profile with new contact details
PUT {{HostName}}/crm/v1/profiles/{{ProfileId}}
Request Body
{"profileDetails"=>{"addresses"=>{"addressInfo"=>[{"address"=>{"addressLine"=>["2640 Golden Gate Parkway", "Suite 300", "", ""], "cityName"=>"Naples", "postalCode"=>"34105", "state"=>"FL", "language"=>"E", "type"=>"HOME", "typeDescription"=>"Home Address", "primaryInd"=>true}}]}, "telephones"=>{"telephoneInfo"=>[{"telephone"=>{"phoneTechType"=>"PHONE", "phoneUseType"=>"MOBILE", "phoneUseTypeDescription"=>"Mobile Phone Number", "phoneNumber"=>"+1 415 555 0101", "primaryInd"=>true, "orderSequence"=>"1"}}]}, "statusCode"=>"ACTIVE", "markForHistory"=>false, "hasCommission"=>false}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelid | string |