The Public API: Overview and Technology
All functionality of Tradeshift is exposed through a REST API, but only a subset of this API is exposed publicly. The public API gives control over the following resources:
- Content – for handling raw documents (invoices, attachments, any kind of business documents)
- DocumentMetadata– holds document metadata
- DocumentList – lists of document references, based on filter- and search criteria
- DispatchRequest – sends documents to other Tradeshift companies, or to external networks
- TagList - gets a list of tags put on a specific document
The ‘Connection’ resource is used to manage the business network of your company, and for referencing senders and receivers of business documents.
- ConnectionTemplate– template-based search for discovering network information
- ConnectionDetail – for managing the details of a connection
- ConnectionOverview - summary information of a connection
- ConnectionList – overview list of connections
- TradeshiftConnection/ExternalConnection – for managing business connections
Users and tenants (companies in Tradeshift terms) are handled with the "Tenant" and "User" resources. Tenants and users are referenced in the API through their Tradeshift-internal IDs.
- Tenant - manages a tenant within Tradeshift. Referenced through 'Tenant ID'.
- User - manages a user within Tradeshift. Referenced through 'Actor ID'.




