Skip to content

Render Label for Locations

POST
/v1/label-templates/{id}/render-locations
curl --request POST \
--url https://example.com/api/v1/label-templates/example/render-locations \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "format": "example", "locationIds": [ "example" ], "pageSize": "example", "showCutGuides": true, "skipLabels": 1 }'
id
required
string

Template ID

Locations to render

Media typeapplication/json
object
format

“png” or “pdf”, defaults to “png”

string
locationIds
required
Array<string>
>= 1 items
pageSize

“Letter”, “A4”, or “Custom” for PDF

string
showCutGuides

Draw light borders around labels for cutting

boolean
skipLabels

Leave this many positions empty on the first sheet

integer
Examplegenerated
{
"format": "example",
"locationIds": [
"example"
],
"pageSize": "example",
"showCutGuides": true,
"skipLabels": 1
}

OK

string format: binary