For all operations listed below you will need to provide HTTP Request Header Authorization param. For more details see Login/Auth page.
Report to get information about shipment
Route: /analysis/trading_activity
Method: GET
Required query parameters:
- customer_id - array of customer IDs. (See customer section, for more details how to get customer IDs associated with your account)
- _date_from - date in YYYY-MM-DD format
- _date_to - date in YYYY-MM-DD format
Example result
{
"entities": [
{
"day": "2017-12-12",
"start_date": "2017-12-12",
"end_date": "2017-12-12",
"shipment_count": "320",
"pieces_count": "458",
"actual_weight": "8719.50",
"subtotal": "99823.16",
"total": "118891.58",
"customs_duties": "16716.05",
"discrepancy_count": "22"
},
{
...
}
"total": 123,
"result": true
}