POST Marketing/AddNewsletterIssue

Request Information

URI Parameters

None.

Body Parameters

AddNewsletterIssueBinding
NameDescriptionTypeAdditional information
PublishDate

Date this issue is planned to be published. For admin purposes.

date

None.

NewsletterID

integer

None.

Subject

Email subject

string

Required

String length: inclusive between 0 and 120

Body

Email body

string

Required

String length: inclusive between 0 and 256000

TemplateID

Template used to generate this newsletter issue Body

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PublishDate": "2025-12-06T05:42:38.4248884+01:00",
  "NewsletterID": 1,
  "Subject": "sample string 2",
  "Body": "sample string 3",
  "TemplateID": 1,
  "Lang": "sample string 4",
  "StoreID": 5
}

application/xml, text/xml

Sample:
<AddNewsletterIssueBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Marketing">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 4</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">5</StoreID>
  <Body>sample string 3</Body>
  <NewsletterID>1</NewsletterID>
  <PublishDate>2025-12-06T05:42:38.4248884+01:00</PublishDate>
  <Subject>sample string 2</Subject>
  <TemplateID>1</TemplateID>
</AddNewsletterIssueBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>