Update Profile
| customerprofiles_update_profile | R Documentation |
Updates the properties of a profile¶
Description¶
Updates the properties of a profile. The ProfileId is required for updating a customer profile.
When calling the UpdateProfile API, specifying an empty string value means that any existing value will be removed. Not specifying a string value means that any value already there will be kept.
Usage¶
customerprofiles_update_profile(DomainName, ProfileId,
AdditionalInformation, AccountNumber, PartyType, BusinessName,
FirstName, MiddleName, LastName, BirthDate, Gender, PhoneNumber,
MobilePhoneNumber, HomePhoneNumber, BusinessPhoneNumber, EmailAddress,
PersonalEmailAddress, BusinessEmailAddress, Address, ShippingAddress,
MailingAddress, BillingAddress, Attributes, PartyTypeString,
GenderString)
Arguments¶
DomainName[required] The unique name of the domain.
ProfileId[required] The unique identifier of a customer profile.
AdditionalInformationAny additional information relevant to the customer’s profile.
AccountNumberAn account number that you have given to the customer.
PartyTypeThe type of profile used to describe the customer.
BusinessNameThe name of the customer’s business.
FirstNameThe customer’s first name.
MiddleNameThe customer’s middle name.
LastNameThe customer’s last name.
BirthDateThe customer’s birth date.
GenderThe gender with which the customer identifies.
PhoneNumberThe customer’s phone number, which has not been specified as a mobile, home, or business number.
MobilePhoneNumberThe customer’s mobile phone number.
HomePhoneNumberThe customer’s home phone number.
BusinessPhoneNumberThe customer’s business phone number.
EmailAddressThe customer’s email address, which has not been specified as a personal or business address.
PersonalEmailAddressThe customer’s personal email address.
BusinessEmailAddressThe customer’s business email address.
AddressA generic address associated with the customer that is not mailing, shipping, or billing.
ShippingAddressThe customer’s shipping address.
MailingAddressThe customer’s mailing address.
BillingAddressThe customer’s billing address.
AttributesA key value pair of attributes of a customer profile.
PartyTypeStringAn alternative to
PartyTypewhich accepts any string as input.GenderStringAn alternative to
Genderwhich accepts any string as input.
Value¶
A list with the following syntax:
Request syntax¶
svc$update_profile(
DomainName = "string",
ProfileId = "string",
AdditionalInformation = "string",
AccountNumber = "string",
PartyType = "INDIVIDUAL"|"BUSINESS"|"OTHER",
BusinessName = "string",
FirstName = "string",
MiddleName = "string",
LastName = "string",
BirthDate = "string",
Gender = "MALE"|"FEMALE"|"UNSPECIFIED",
PhoneNumber = "string",
MobilePhoneNumber = "string",
HomePhoneNumber = "string",
BusinessPhoneNumber = "string",
EmailAddress = "string",
PersonalEmailAddress = "string",
BusinessEmailAddress = "string",
Address = list(
Address1 = "string",
Address2 = "string",
Address3 = "string",
Address4 = "string",
City = "string",
County = "string",
State = "string",
Province = "string",
Country = "string",
PostalCode = "string"
),
ShippingAddress = list(
Address1 = "string",
Address2 = "string",
Address3 = "string",
Address4 = "string",
City = "string",
County = "string",
State = "string",
Province = "string",
Country = "string",
PostalCode = "string"
),
MailingAddress = list(
Address1 = "string",
Address2 = "string",
Address3 = "string",
Address4 = "string",
City = "string",
County = "string",
State = "string",
Province = "string",
Country = "string",
PostalCode = "string"
),
BillingAddress = list(
Address1 = "string",
Address2 = "string",
Address3 = "string",
Address4 = "string",
City = "string",
County = "string",
State = "string",
Province = "string",
Country = "string",
PostalCode = "string"
),
Attributes = list(
"string"
),
PartyTypeString = "string",
GenderString = "string"
)