Use case
A Third-party company wants to retrieve the organization orders for a specific branch
How-to Steps
Create a token and grant the APIs permissions
On Edara, from Data Module then Integration page, add a new user token with these permissions
Get Warehouse By Name
Return a list of sales documents by specific criteria
2. Retrieve the warehouse ID
Give the third-party company your warehouse name on Edara
Use this endpoint “Return a Warehouse by Name” to know the warehouse ID to can retrieve the orders later
3. Retrieve the sales orders for a specific warehouse
Use this endpoint “Return a list of sales documents by specific criteria”
Consider these requirements in API parameters
Warehouse ID: integer (Mandatory)
From date: string (date-time) (e.g. 2020-01-08T00:00:00.00Z) (Mandatory)
To date: string (date-time) (e.g. 2020-01-08T00:00:00.00Z) (Mandatory)
Document type: SO, SR, or NULL
Important notes
The maximum limit for retrieving the orders is 1000 transactions in call
The user token must have the data permissions of warehouses, stock items, and service items
The service-only documents won't be retrieved from this endpoint