Documents

Generate a document

Generate any document. This API is designed to be used to generate GS1 labels, invoices and any document that requires external data.

post/v1/documents/generate

Request body

template_idstring

The template name. Required if template is not provided.

templatestring

The template content. Required if template_id is not provided.

doc_formatstring

The format of the document

doc_namestring

The file name

dataobject

The template data

optionsobject

The template rendering options

Response

template_idstring

The template name

doc_formatstring

The format of the document

doc_namestring

The file name

doc_filestring required

A base64 file content

Changes

No recorded changes to this endpoint across all 1 revision of this API.