POST Marketing/Newsletters
Request Information
URI Parameters
None.
Body Parameters
BaseRequestName | Description | Type | Additional information |
---|---|---|---|
Lang | string |
None. |
|
StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Lang": "sample string 1", "StoreID": 2 }
application/xml, text/xml
Sample:
<BaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base"> <Lang>sample string 1</Lang> <StoreID>2</StoreID> </BaseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of NewsletterName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name |
noticias y ofertas cupones Ventas Flash |
string |
Required String length: inclusive between 0 and 50 |
Description |
Correos con noticias y ofertas Correos con cupones de descuento y regalos Correos con información de nuevas Ventas Flash |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "Description": "sample string 3" }, { "ID": 1, "Name": "sample string 2", "Description": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfNewsletter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Marketing"> <Newsletter> <Description>sample string 3</Description> <ID>1</ID> <Name>sample string 2</Name> </Newsletter> <Newsletter> <Description>sample string 3</Description> <ID>1</ID> <Name>sample string 2</Name> </Newsletter> </ArrayOfNewsletter>