Extra documents are only available for letters, as postcards are sent as a single piece of paper.
Extra documents can be provided as PDF or Word documents.
import Intelliprint from 'intelliprint'
const ip = new Intelliprint('your-api-key-here')
import fs from 'fs'
const printJob = await ip.prints.create({
extra_documents: [
{
document: fs.createReadStream('path/to/my/extra/document1.pdf'),
apply_background: true
},
{
document: fs.createReadStream('path/to/my/extra/document2.docx'),
apply_background: true
},
],
// ...Other properties.
})
Extra documents are included in letters in the same order they are provided in the print job.