Legacy tenant collection for creating a document attached to an owner.
Create tenant document
Create a document and attach it to an object in the system (owner).
This is the legacy tenant collection endpoint. Inbound, outbound, and consignment document APIs are separate resources.
API clients with Customer-role access can upload only when the customer is allowed to upload documents (Customer Invoice or Document Upload in customer warehouse management settings).
path Parameters
tenantIdTenant ID. Can be found in organisation settings
Headers
Accept-VersionAll API end points require Accept-Version in the request header.
Failure to provide the header will return a status code of 400, however, an invalid version can return a 404, 406 or 400.
Create tenant document › Request Body
typeDocument type code. OUTBOUND_ORDER_INVOICE applies to owner type OUTBOUND.
Create tenant document › Responses
Created
typeid