To place on order, the following data is needed:
- Billing address
- Product (item)
- Shipping address
- Sender address
- File URL
Autoscale
By default, designs are not scaled to prevent quality issues. However, it is possible to automatically scale files to match the product specifications.
Warning: Upscaling files can lead to decreased quality and is not recommended
"fileOptions": {"autoscale": "up"},
"fileOptions": {"autoscale": "down"},
"fileOptions": {"autoscale": "none"},
"fileOptions": {"autoscale": "all"},Example order
{
"poNumber": "PO-12345678",
"customerReference": "API test order",
"items": [
{
"customerReference": "Creative Flyers",
"sku": "flyers",
"fileOptions": {"autoscale": "none"},
"fileUrl": "https://assets.ctfassets.net/ez9mp376cw6o/400CEI7LHGZoUKkuF2gD55/0b23f88f1e81340851a70ae36b8bd6a6/Sample-PDF-A5.pdf",
"options": {
"printingmethod": "digital",
"copies": 1000,
"material": "135gr_gesatineerd_mc",
"size": "a4",
"printtype": "44"
},
"senderAddress": {
"lastName": "Jameson",
"country": "NL",
"firstName": "George",
"city": "Deventer",
"companyName": "Generic Designers",
"postcode": "7418AM",
"telephone": "+31 88 751 1111",
"fullstreet": "Teugseweg 18a",
"email": "[email protected]"
},
"shipments": [
{
"address": {
"lastName": "Jameson",
"firstName": "George",
"companyName": "Generic Designers",
"telephone": "+33 2 40 12 53 53",
"email": "[email protected]",
"fullstreet": "Teugseweg 18a",
"city": "Deventer",
"postcode": "7418AM",
"country": "NL"
},
"copies": 1000
}
]
}
],
"billingAddress": {
"country": "NL",
"firstName": "George",
"lastName": "Jameson",
"vatNr": "NL002143358B47",
"city": "Deventer",
"companyName": "Generic Designers",
"postcode": "7418AM",
"telephone": "+31 88 751 1111",
"fullstreet": "Teugseweg 18a",
"email": "[email protected]"
}
}