PUT Marketing/ModifyNewsletterSubscriber
Request Information
URI Parameters
None.
Body Parameters
ModifyNewsletterSubscriberBindingName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CustomerID |
Optionally use to bind this subscriber to a customer |
string |
String length: inclusive between 0 and 128 |
Equals Customer.Contact.Email, if CustomerID != null |
string |
Required String length: inclusive between 0 and 200 |
|
Name | string |
Required String length: inclusive between 0 and 100 |
|
Surnames | string |
String length: inclusive between 0 and 100 |
|
Gender | Gender |
None. |
|
DateOfBirth | date |
None. |
|
Lang | string |
None. |
|
StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "CustomerID": "sample string 2", "Email": "sample string 3", "Name": "sample string 4", "Surnames": "sample string 5", "Gender": 1, "DateOfBirth": "2024-11-15T00:50:08.32816+01:00", "Lang": "sample string 6", "StoreID": 7 }
application/xml, text/xml
Sample:
<ModifyNewsletterSubscriberBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 6</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">7</StoreID> <CustomerID>sample string 2</CustomerID> <DateOfBirth>2024-11-15T00:50:08.32816+01:00</DateOfBirth> <Email>sample string 3</Email> <Gender>Male</Gender> <Name>sample string 4</Name> <Surnames>sample string 5</Surnames> <ID>1</ID> </ModifyNewsletterSubscriberBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"7aa77466-143e-4ae5-9fc3-236652d4dca8"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7aa77466-143e-4ae5-9fc3-236652d4dca8</guid>