- Introduction
- Getting Started
- Authentication
- Error Handling
- Contact Support
- Modaltrans API
- Get Auth Token
- Accounting
- Customs
- Logistics
- Depot
- Fleet Management
- CRM
- Timelines
- S3 Files
- Notifications
- User Details
List all Orders
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/orders
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
page
number
optional
Example:
1
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.modaltrans.com/api/v1/orders?page=1'
Responses
🟢200Success
application/json
Body
array of:
reference
string
required
entry_date
string <date>
required
extref
string
required
input_output
string
required
order_no
string
required
file_no
string
required
from_location_code
string
required
to_location_code
string
required
arrival_date
string <date>
required
sender_code
string
required
sender_name
string
required
consignee_code
string
required
consignee_name
string
required
order_address
string
required
district
string
required
city
string
required
postcode
string
required
state
string
required
country_id
string
required
warehouseCode
string
required
interface_code
string
required
orderLines
array [object {15}]
required
line_no
integer
required
serial_no
string
required
weight
number
required
volume
number
required
price
number
required
price_curr
string
required
delivery_date
string <date>
required
asset_no
string
required
subinventory_code
string
required
origin_country_id
string
required
remote_id
string
required
productName
string
required
barCode
string
required
packCount
number
required
packType
string
required
Example
[
{
"reference": "string",
"entry_date": "2019-08-24",
"extref": "string",
"input_output": "string",
"order_no": "string",
"file_no": "string",
"from_location_code": "string",
"to_location_code": "string",
"arrival_date": "2019-08-24",
"sender_code": "string",
"sender_name": "string",
"consignee_code": "string",
"consignee_name": "string",
"order_address": "string",
"district": "string",
"city": "string",
"postcode": "string",
"state": "string",
"country_id": "string",
"warehouseCode": "string",
"interface_code": "string",
"orderLines": [
{
"line_no": 0,
"serial_no": "string",
"weight": 0,
"volume": 0,
"price": 0,
"price_curr": "string",
"delivery_date": "2019-08-24",
"asset_no": "string",
"subinventory_code": "string",
"origin_country_id": "string",
"remote_id": "string",
"productName": "string",
"barCode": "string",
"packCount": 0,
"packType": "string"
}
]
}
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-26 07:49:52