#Publications

#Available from v.3.1.0 Publications support two different outputs. Publications can be used to auto-generate PDF product sheets, pricelists etc. or even complete catalogues ready for print or to generate an XML data file, which is directly importable to Adobe InDesign. Templates for the PDF's and XML structure are maintained in the publications module itself.

GET /publications/{templateExternalRef}/{id}/{languageId} Get Product single page catalogue

#Available from v.3.1.0 Use this method to get single page catalogues for a single product. Fetch the catalogue by product, template and language.

Request parameters

Property name Parameter type Data type Description
id path integer

Item id

languageId path integer

Language

templateExternalRef path string

External reference for template

Response status OK (200)

No body message is returned

POST /publications/dataonly Get Product data only catalogue

#Available from v.3.1.0 Use this method to get data only catalogues. Fetch the catalogue by products, template and language.

Request parameters

Property name Parameter type Data type Description
model body object : DataOnlyRequestModel

Model containing itemids, template and language

DataOnlyRequestModel
Property name Data type Description
TemplateExternalRef string
LanguageId integer
Ids array
ItemType string
CustomValues object

Response status OK (200)

No body message is returned

POST /publications/multipage Get Product multi page catalogue

#Available from v.3.1.0 Use this method to get multi page catalogues. Fetch the catalogue by products, template and language.

Request parameters

Property name Parameter type Data type Description
model body object : MultiPageRequestModel

Model containing itemids, template and language

MultiPageRequestModel
Property name Data type Description
TemplateExternalRef string

External reference of the template to use for generating the PDF

LanguageId integer

The id of the language to use for the PDF generation

Ids array

Ids of the products to include in the PDF

ItemType string

Set type of Ids (Product or Variant). If variant, only specified variants will be included per product.

InsertsFront array

Ids of PDF files in the mediabank to use as inserts on the front of the PDF

InsertsBack array

Ids of PDF files in the mediabank to use as inserts on the back of the PDF

PageSize string

Resize to custom page size

CustomValues object

Custom values to use when generating the PDF

Response status OK (200)

No body message is returned

POST /publications/singlepage Get Product single page catalogue

#Available from v.3.1.0 Use this method to get single page catalogues. Fetch the catalogue by product, template, language and custom values.

Request parameters

Property name Parameter type Data type Description
model body object : SinglePageRequestModel

Model containing itemid, template, language and custom values

SinglePageRequestModel
Property name Data type Description
TemplateExternalRef string

The external reference of the template to use for generating the PDF

LanguageId integer

The id of the language to use for the PDF generation

Ids array

Ids of the products to build single page PDF's for

ItemType string

Set type of Ids (Product or Variant). If variant, only specified variants will be included per product.

PageSize string

Resize to custom page size

CustomValues object

Custom values to use when generating the PDF

Response status OK (200)

No body message is returned