656 B
656 B
POST /labeltemplate
Protected. Requires a valid session cookie (credentials: 'include').
Create label template
Creates a new ZPL label template for the selected company. A 50×50 1-bit PNG thumbnail is automatically rendered from the content and stored with the template.
Body (JSON)
{}
Response 201
Created label template
{
"labeltemplate": {}
}
Errors
| Status | Description |
|---|---|
| 400 | Invalid input or missing fields — {"error":"…"} |
| 401 | Unauthorized — {"error":"…"} |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.