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:
"b09c7f9a-22d6-4f23-ba69-e85a863213ef"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b09c7f9a-22d6-4f23-ba69-e85a863213ef</guid>