How to submit a Job
Understanding the job structure
Our Job API was written "bespoke first". This means it has been designed for submitting both basic and complex print jobs.
A Job
is made up of a series of components that we call a JobComponent
. This is where the specifics of the Job is defined, such as the size, the stock and any finishings.
The JobComponent
is made up of the following structure:
reference
: Your reference for the Job; this can be your Job or Order Item IDproduct
: The unique identifier (UUID) of the selected print productquantity
: The number of copies or unitsoptions
: An array that can hold additional options or features related to the entire print job, such as binding for multipage productscomponents
: An array representing the different components or parts of the print joblabel
: One ofgeneral|cover|pages
depending on single or multipagesize
: The size of the Jobmaterial
: The stock to be used for the Joboptions
: An array of finishing items, such as lamination, perforationrange_start
andrange_end
: The page count for Jobartwork
: Details related to the artwork or design of the component.files
: An array containing the artwork files used for the Componentfile
: The remote URL where the artwork is accessiblefinishing_item
: The finishing for which the artwork belongs tolabel
: A label or identifier for the artwork component, usually "ink"
Each JobComponent
must have an artwork PDF assigned to it which must be accessible for the API to download. See Supplying artwork for more information.
Example Jobs
Business Cards: 7bea462b-f281-415e-92a8-6c62c5df21d4
Business Card Single Sided
{
"reference": "MY-FIRST-JOB",
"product": "7bea462b-f281-415e-92a8-6c62c5df21d4",
"quantity": 10,
"options": [],
"components": [
{
"label": "general",
"size": "size-85mm-x-55mm",
"material": "material-recycled-silk-standard-350gsm",
"options": [
{
"finishing_item": "finishing-orientation-landscape"
},
{
"finishing_item": "finishing-ink-single"
}
],
"range_start": 1,
"range_end": 1,
"artwork": {
"files": [
{
"file": {
"mime_type": "application/pdf",
"source": "https://assets.printeddirect.com/artwork/85x55_L_SS.pdf"
},
"finishing_item": "finishing-ink-single",
"label": "ink"
}
]
}
}
]
}
Table of Contents