CustomerComponents Web Service
Method/UpdateNewsLetterStatus
CustomerComponents Web Service > All Operations Resource Group : /UpdateNewsLetterStatus (Method)
Description
The UpdateNewsLetterStatus function set the newsletter status on the customer and subscribes the email address to the provider if accepted. Returns true if all succeeded
Request (UpdateNewsLetterStatusSoapIn)

The request body is of type UpdateNewsLetterStatus.

Request Body Parameters

NameDescriptionData Type
 CustomerInfo
 NewsLetterStatus
 xml:string
emailAddress Element status Element PriceToApply Element NewsLetterStatus Element SendSaleConfirmation Element SaleConfirmationEmailAddressId Element LanguageId Element Deceased Element Gender Element DateOfBirth Element RfidCode Element IsCancelled Element IsExportAllowed Element Url Element Remarks Element LastName Element MiddleName Element FirstName Element Initials Element SalutationId Element PreviousCompanyName Element CompanyName Element IsCompany Element SearchText Element GeneralName Element SaleOrderClassId Element PriceAgreementId Element DiscountAgreementId Element SaleTypeId Element IsDefaultDebtor Element IsDefaultSupplier Element DebtorId Element SupplierId Element EdiSendOrderResponse Element GS1EdiCustomerPartyNumber Element GS1EdiPartyNumber Element GS1EdiFormat Element ExternalCode Element CustomerNumber Element ExternalId Element LoyaltyProviderId Element CustomerTypeId Element OrganizationId Element CompanyId Element LastModifiedDateTime Element LastModifiedByUserId Element CreatedDateTime Element CreatedByUserId Element ItemId Element Sequence customer Element Sequence UpdateNewsLetterStatus Element

Overview

Sequence
Sequence
ItemId xs:int
CreatedDateTime xs:dateTime
CompanyId xs:int
ExternalId xs:int
ExternalCode optional xs:string
SupplierId xs:int
DebtorId xs:int
IsDefaultDebtor xs:boolean
SaleTypeId xs:int
GeneralName optional xs:string
SearchText optional xs:string
IsCompany xs:boolean
CompanyName optional xs:string
PreviousCompanyName optional xs:string
Initials optional xs:string
FirstName optional xs:string
MiddleName optional xs:string
LastName optional xs:string
Remarks optional xs:string
Url optional xs:string
IsExportAllowed xs:boolean
IsCancelled xs:boolean
RfidCode optional xs:string
DateOfBirth xs:dateTime
Deceased xs:boolean
LanguageId xs:int
emailAddress optional xs:string
Response (UpdateNewsLetterStatusSoapOut)

The response body is of type UpdateNewsLetterStatusResponse.

Response Body Parameters

NameDescriptionData Type
 xml:boolean
UpdateNewsLetterStatusResult Element Sequence UpdateNewsLetterStatusResponse Element

Overview

Sequence
See Also
All Operations Resource GroupCustomerComponents Web Service