Back to template library
Dynamic PDF Template
Simplify your shipping process with our versatile shipping label template.
Designed to accommodate essential shipping and recipient details, this template ensures parcels reach their intended destination without hassle. With a clean and clear layout, it ensures quick readability, reducing the chances of shipping errors. Suitable for both business and personal use, this template can be easily customized with company logos or specific identifiers.
Dynamic PDF API
Dynamic Data Integration
Each of our template comes with a set of dynamic data that you can customize to your needs.
Here is the list of the default data with their type and example:
Name | Type | Example |
---|---|---|
company | string | A company |
first_name | string | Jane |
last_name | string | Doe |
address | string | 210 Crooks Creek Suite 925 |
city | string | Eliasbury, NE 31354 |
ref_number | string | FA32J7G4V |
lot_number | integer | 1000019928273 |
order_number | string | T00234 |
barcode | string | 1003.22738.112983.43 |
{
"data": {
"company": "A company",
"first_name": "Jane",
"last_name": "Doe",
"address": "210 Crooks Creek Suite 925",
"city": "Eliasbury, NE 31354",
"ref_number": "FA32J7G4V",
"lot_number": 1000019928273,
"order_number": "T00234",
"barcode": "1003.22738.112983.43"
}
}
curl -X POST "https://pdf-api.io/api/templates/{templateId}/pdf" \
-H "Content-Type: application/json" \
-H "Accept: application/pdf" \
-H "Authorization: Bearer {token}"
-d '{
"data": {
"company": "A company",
"first_name": "Jane",
"last_name": "Doe",
"address": "210 Crooks Creek Suite 925",
"city": "Eliasbury, NE 31354",
"ref_number": "FA32J7G4V",
"lot_number": 1000019928273,
"order_number": "T00234",
"barcode": "1003.22738.112983.43"
}
}'