POST Marketing/AddNewsletterSubscription
Request Information
URI Parameters
None.
Body Parameters
AddNewsletterSubscriptionBindingName | Description | Type | Additional information |
---|---|---|---|
SubscriberID | integer |
None. |
|
NewsletterID | integer |
None. |
|
Lang | string |
None. |
|
StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SubscriberID": 1, "NewsletterID": 2, "Lang": "sample string 3", "StoreID": 4 }
application/xml, text/xml
Sample:
<AddNewsletterSubscriptionBinding 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 3</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">4</StoreID> <NewsletterID>2</NewsletterID> <SubscriberID>1</SubscriberID> </AddNewsletterSubscriptionBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"3e55d22e-41fd-4d43-9c39-fb7a5c218080"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3e55d22e-41fd-4d43-9c39-fb7a5c218080</guid>