Skip Navigation

Update Profile

10.29
Profiles
SOAP API
Hospitality

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

The Update Profile (OTA_ProfileModifyRQ) methodĀ modifiesĀ an existing Customer, Company or Booker profile type or Commissionable account.

Target Audience
Hospitality
API Version
10.29
Authentication
Security Credentials
Service Action Code
OTA_ProfileModifyRQ

Some types of data, such as addresses and payment cards, can have multiple values stored for a profile. For example, a customer could have both a Visa and MasterCard payment card stored. If this additional dependent data exists for a profile, it updates. If it does not already exist, is added.

Sample Request
<OTA_ProfileModifyRQ EchoToken="3333" PrimaryLangID="en" Version="1" xmlns="http://www.opentravel.org/OTA/2003/05">
    <UniqueID Type="4" ID="54EF985B2C" ID_Context="pms">
        <CompanyName CodeContext="hotel" Code="10001"/>
    </UniqueID>
    <ProfileModify>
        <CompanyInfo>
            <CompanyName CompanyShortName="CorporateID" Code="MasterCompany">Company Name Text</CompanyName>
            <URL>www.companyURL.com</URL>
            <ContactPerson>
                <PersonName>
                    <NamePrefix>Herrn</NamePrefix>
                    <GivenName>James</GivenName>
                    <MiddleName>Earl</MiddleName>
                    <Surname>Jones</Surname>
                    <NameSuffix>Third</NameSuffix>
                </PersonName>
                <Telephone PhoneTechType="1" PhoneNumber="206-555-1211"/>
                <Telephone PhoneTechType="1" PhoneNumber="206-555-1212"/>
                <Telephone PhoneTechType="3" PhoneNumber="206-555-1213"/>
                <Telephone PhoneTechType="5" PhoneNumber="206-555-1214"/>
                <Address>
                    <AddressLine>1 Main St.</AddressLine>
                    <AddressLine>Suite 100</AddressLine>
                    <AddressLine>Cubicle 10</AddressLine>
                    <CityName>Seattle</CityName>
                    <PostalCode>98105</PostalCode>
                    <StateProv StateCode="WA"/>
                    <CountryName Code="US"/>
                </Address>
                <Email>jej@email.com</Email>
            </ContactPerson>
        </CompanyInfo>
        <Comments>
            <Comment>
                <Text>My Comments</Text>
            </Comment>
        </Comments>
    </ProfileModify>
</OTA_ProfileModifyRQ>
Sample Response
<OTA_ProfileModifyRS EchoToken="3333" TimeStamp="2015-03-05T16:31:50Z" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
    <Success/>
    <UniqueID Type="4" ID="54EF985B2C" ID_Context="pms">
        <CompanyName CodeContext="hotel" Code="10001"/>
    </UniqueID>
</OTA_ProfileModifyRS>