Documentation
PDF and web sheets
Product sheets use the PDF templates configured for the instance. These GET routes are public (@PermitAll): anyone who knows the URL can fetch the sheet.
If the product id is not GTIN.country, the API returns an error. If the product exists but there is no default template for that unit type, it also returns an error. A named template that is missing falls back to the default for the unit type.
GET /api/pdf/{productId}
GET /api/pdf/{productId}/{templateName}
GET /api/pdf/{itemId}/{country}/{templateName}
https://{instance}.fmcgproducts.dk/api/pdf/01234567890123.208
https://{instance}.fmcgproducts.dk/api/pdf/01234567890123.208/MyTemplate
The item-number form uses internal product number and country. If that unit is not found, the API tries the base unit (BASE_UNIT_OR_EACH) for the same item number.
Response content type is application/pdf.
HTML
GET /api/web/{productId}/{templateName}
GET /api/web/{itemId}/{country}/{templateName}
Same lookup rules as PDF. Response content type is text/html.
