- Introduction
- Getting Started
- Authentication
- Error Handling
- Contact Support
- Modaltrans API
- Get Auth Token
- Accounting
- Customs
- Logistics
- Bookings
- Locations
- Positions
- Tracking
- Shipments
- Depot
- Fleet Management
- CRM
- Timelines
- S3 Files
- Notifications
- User Details
List All Shipments
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/shipments
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
page
integer
optional
Example:
1
updated_at
string <date-time>
optional
Examples:
2025-04-072025-04-01T00:00:00Z
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/shipments?page=1&updated_at='
Responses
🟢200OK
application/json
Body
array of:
transaction_id
integer
required
uuid
string
required
reference
string
required
branch_id
integer
required
company_uuid
string
required
company_name
string
required
customer_ref
string
required
agent_ref
string
required
consignee_name
string
required
sender_name
string
required
load_place_id
integer
required
load_city
string
required
load_zipcode
string
required
load_coun
string
required
load_place
string
required
load_date
string <date-time>
required
unload_place_id
integer
required
unload_city
string
required
unload_zipcode
string
required
unload_coun
string
required
unload_place
string
required
unload_date
string
required
brut_wg
number
required
volume
number
required
ladameter
number
required
status
string
required
commodity
string
required
category
string
required
group_id
integer
required
price_wg
number
required
teu
integer
required
saler_name
string
required
saler_email
string
required
saler_office_tel
string
required
total_pack
number
required
carrier_name
string
required
waybill_no
string
required
container_nos
array [object {2}]
required
size
string
required
container_no
string
required
timelines
array [object {26}]
required
id
integer
required
parent_type
string
required
parent_id
integer
required
status_date
string <date-time>
required
status_code
string
required
place_id
integer
required
city_id
integer
required
country_id
string
required
notes
string
required
source
string
required
group_id
integer
required
user_id
integer
required
patron_id
integer
required
customer_inform_type
boolean
required
customer_inform_status
string
required
created_at
string <date-time>
required
updated_at
string <date-time>
required
lng
number
required
lat
number
required
place_name
string
required
notify_senders
boolean
required
notify_consignees
boolean
required
notify_companies
boolean
required
tenant_id
integer
required
icon_code
string
required
system_location
string
required
Example
[
{
"transaction_id": 0,
"uuid": "string",
"reference": "string",
"branch_id": 0,
"company_uuid": "string",
"company_name": "string",
"customer_ref": "string",
"agent_ref": "string",
"consignee_name": "string",
"sender_name": "string",
"load_place_id": 0,
"load_city": "string",
"load_zipcode": "string",
"load_coun": "string",
"load_place": "string",
"load_date": "2019-08-24T14:15:22Z",
"unload_place_id": 0,
"unload_city": "string",
"unload_zipcode": "string",
"unload_coun": "string",
"unload_place": "string",
"unload_date": "string",
"brut_wg": 0,
"volume": 0,
"ladameter": 0,
"status": "string",
"commodity": "string",
"category": "string",
"group_id": 0,
"price_wg": 0,
"teu": 0,
"saler_name": "string",
"saler_email": "string",
"saler_office_tel": "string",
"total_pack": 0,
"carrier_name": "string",
"waybill_no": "string",
"container_nos": [
{
"size": "string",
"container_no": "string"
}
],
"timelines": [
{
"id": 0,
"parent_type": "string",
"parent_id": 0,
"status_date": "2019-08-24T14:15:22Z",
"status_code": "string",
"place_id": 0,
"city_id": 0,
"country_id": "string",
"notes": "string",
"source": "string",
"group_id": 0,
"user_id": 0,
"patron_id": 0,
"customer_inform_type": true,
"customer_inform_status": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"lng": 0,
"lat": 0,
"place_name": "string",
"notify_senders": true,
"notify_consignees": true,
"notify_companies": true,
"tenant_id": 0,
"icon_code": "string",
"system_location": "string"
}
]
}
]
Modified at 2025-04-21 06:56:15