Skip to main content
Orders

Upload Document

Uploads a Base64 encoded document to a goodsout.

POST
/v1/orders/goodsouts/{id}/documents

Scope(s): APP::ORDERS::MANAGE

idstringrequired

Path parameter: id

Pattern: [1-9][0-9]{0,}

Body

application/json
categoryanyrequired

The document category.

extensionstringrequired

The file extension.

filestringrequired

The file contents Base64 encoded.

mimestringrequired

The file mime.

namestringrequired

The file name.

paper_sizeany

The paper size.

print_at_despatchnumber

The number of copies to print at desptach.

Response

200application/json

successful operation

successboolean

Whether the upload was successful or not.