Templates
Create Template
POST
`/v1/templates`
To create a template, you need to provide a name, a flag to set it as default, and the template data, which varies depending on the type of template being created.
Template Data Structure
The template_data
can be one of the following types:
Asset Label PDF Template
Item Label PDF Template
Shipment Shipping Label PDF Template
Example Request
Update Template
POST
/v1/templates/:template_id
You can update most properties of a template, including the name, the default setting, and the template data. The structure of the request body is similar to that of the create template endpoint.
List Templates
GET
`/v1/templates`
To retrieve a list of templates, you can filter by type, status, and order them by different properties.