Module Values.UpdateProfileRequestSource

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.

Sourcetype nonrec t = {
  1. domainName : Name.t;
    (*

    The unique name of the domain.

    *)
  2. profileId : Uuid.t;
    (*

    The unique identifier of a customer profile.

    *)
  3. additionalInformation : SensitiveString0To1000.t option;
    (*

    Any additional information relevant to the customer’s profile.

    *)
  4. accountNumber : SensitiveString0To255.t option;
    (*

    An account number that you have assigned to the customer.

    *)
  5. partyType : PartyType.t option;
    (*

    The type of profile used to describe the customer.

    *)
  6. businessName : SensitiveString0To255.t option;
    (*

    The name of the customer’s business.

    *)
  7. firstName : SensitiveString0To255.t option;
    (*

    The customer’s first name.

    *)
  8. middleName : SensitiveString0To255.t option;
    (*

    The customer’s middle name.

    *)
  9. lastName : SensitiveString0To255.t option;
    (*

    The customer’s last name.

    *)
  10. birthDate : SensitiveString0To255.t option;
    (*

    The customer’s birth date.

    *)
  11. gender : Gender.t option;
    (*

    The gender with which the customer identifies.

    *)
  12. phoneNumber : SensitiveString0To255.t option;
    (*

    The customer’s phone number, which has not been specified as a mobile, home, or business number.

    *)
  13. mobilePhoneNumber : SensitiveString0To255.t option;
    (*

    The customer’s mobile phone number.

    *)
  14. homePhoneNumber : SensitiveString0To255.t option;
    (*

    The customer’s home phone number.

    *)
  15. businessPhoneNumber : SensitiveString0To255.t option;
    (*

    The customer’s business phone number.

    *)
  16. emailAddress : SensitiveString0To255.t option;
    (*

    The customer’s email address, which has not been specified as a personal or business address.

    *)
  17. personalEmailAddress : SensitiveString0To255.t option;
    (*

    The customer’s personal email address.

    *)
  18. businessEmailAddress : SensitiveString0To255.t option;
    (*

    The customer’s business email address.

    *)
  19. address : UpdateAddress.t option;
    (*

    A generic address associated with the customer that is not mailing, shipping, or billing.

    *)
  20. shippingAddress : UpdateAddress.t option;
    (*

    The customer’s shipping address.

    *)
  21. mailingAddress : UpdateAddress.t option;
    (*

    The customer’s mailing address.

    *)
  22. billingAddress : UpdateAddress.t option;
    (*

    The customer’s billing address.

    *)
  23. attributes : UpdateAttributes.t option;
    (*

    A key value pair of attributes of a customer profile.

    *)
  24. partyTypeString : SensitiveString0To255.t option;
    (*

    An alternative to PartyType which accepts any string as input.

    *)
  25. genderString : SensitiveString0To255.t option;
    (*

    An alternative to Gender which accepts any string as input.

    *)
  26. profileType : ProfileType.t option;
    (*

    Determines the type of the profile.

    *)
  27. engagementPreferences : EngagementPreferences.t option;
    (*

    Object that defines users preferred methods of engagement.

    *)
}
Sourceval context_ : string
Sourceval make : ?additionalInformation:??? -> ?accountNumber:??? -> ?partyType:??? -> ?businessName:??? -> ?firstName:??? -> ?middleName:??? -> ?lastName:??? -> ?birthDate:??? -> ?gender:??? -> ?phoneNumber:??? -> ?mobilePhoneNumber:??? -> ?homePhoneNumber:??? -> ?businessPhoneNumber:??? -> ?emailAddress:??? -> ?personalEmailAddress:??? -> ?businessEmailAddress:??? -> ?address:??? -> ?shippingAddress:??? -> ?mailingAddress:??? -> ?billingAddress:??? -> ?attributes:??? -> ?partyTypeString:??? -> ?genderString:??? -> ?profileType:??? -> ?engagementPreferences:??? -> domainName:Name.t -> profileId:Uuid.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of String1To255.t ] * [> `String of String0To255.t ]) list | `String of Name.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of Name.t ]) list ] list | `String of String0To255.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t