Templates
Get information about templates that are configured for your company.
Attributes
Name | Type | Description |
---|---|---|
idtemplate | integer | Unique Picqer reference |
name | string | The name you gave to this template |
custom_css | string | Custom CSS added to this template |
default | boolean | Whether this template is the default template |
Get all templates
GET
https://example.picqer.com/api/v1/templates
HTTP/1.1 200 OK
[
{
"idtemplate": 6200,
"name": "Standaard",
"custom_css": "",
"default": true
},
{
"idtemplate": 9910,
"name": "Duits",
"custom_css": ".packinglist-pdf .document-title { color: #fff; font-size: 0px; }\r\n.packinglist-pdf .document-title:after { content: 'Lieferschein'; font-size: 16px; color: #000;}\r\n\r\n.packinglist-pdf tr.metadata-packinglistid th { color: #fff; font-size: 0px; width: 135px; }\r\n.packinglist-pdf tr.metadata-packinglistid th:after { content: 'Lieferschein'; font-size: 12px; color: #666; width: 135px; }\r\n\r\n.packinglist-pdf tr.metadata-packinglistdate th { color: #fff; font-size: 0px; width: 135px; }\r\n.packinglist-pdf tr.metadata-packinglistdate th:after { content: 'Datum'; font-size: 12px; color: #666; width: 135px; }\r\n\r\n.packinglist-pdf tr.metadata-orderid th { color: #fff; font-size: 0px; width: 135px; }\r\n.packinglist-pdf tr.metadata-orderid th:after { content: 'Lagernummer'; font-size: 12px; color: #666; width: 135px; }\r\n\r\n.packinglist-pdf tr.metadata-reference th { color: #fff; font-size: 0px; width: 135px; }\r\n.packinglist-pdf tr.metadata-reference th:after { content: 'Bestellnummer'; font-size: 12px; color: #666; width: 135px; }\r\n\r\n.packinglist-pdf tr.metadata-preferred-delivery-date th { color: #fff; font-size: 0px; width: 135px; }\r\n.packinglist-pdf tr.metadata-preferred-delivery-date th:after { content: 'Wunschliefertermin'; font-size: 12px; color: #666; width: 135px; }\r\n\r\n.packinglist-pdf th.column-productcode { color: #fff; font-size: 0px; width: 125px; }\r\n.packinglist-pdf th.column-productcode:after { content: 'Artikelnummer'; font-size: 12px; color: #666; width: 125px; }\r\n\r\n.packinglist-pdf th.column-name { color: #fff; font-size: 0px; width: 400px; }\r\n.packinglist-pdf th.column-name:after { content: 'Bezeichnung'; font-size: 12px; color: #666; width: 400px; }\r\n\r\n.packinglist-pdf th.column-amount{ color: #fff; font-size: 0px; width: 125px; }\r\n.packinglist-pdf th.column-amount:after { content: 'Anzahl'; font-size: 12px; color: #666; width: 125px; }\r\n\r\n.packinglist-pdf th.right.column-delivered { color: #fff; font-size: 0px; width: 135px; }\r\n.packinglist-pdf th.right.column-delivered:after { content: 'Anzahl'; font-size: 12px; color: #666; width: 135px; }\r\n\r\n.packinglist-pdf .customer-remarks-heading { color: #fff; font-size: 0px; } \r\n.packinglist-pdf .customer-remarks-heading:after { content: 'Hinweis'; font-size: 12px; color: #666; width: 135px; } \r\n\r\n.packinglist-pdf .customer-remarks-heading { color: #fff; font-size: 0px; }\r\n.packinglist-pdf .customer-remarks-heading:after { content: 'Hinweis'; font-size: 12px; color: #666; width: 135px; }\r\n\r\n.packinglist-pdf tfoot tr td:first-child { color: #fff; font-size: 0px; width: 135px; }\r\n.packinglist-pdf tfoot tr td:first-child:after { content: 'Anzahl'; font-size: 12px; color: #666; width: 135px; }",
"default": false
}
]
Get single template
GET
https://example.picqer.com/api/v1/templates/{idtemplate}
HTTP/1.1 200 OK
{
"idtemplate": 6200,
"name": "Standaard",
"custom_css": "",
"default": true
}
Read more Fulfilment