- 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 Inventories
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/wares
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
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/wares'
Responses
🟢200OK
application/json
Body
array of:
name
string
optional
total
number
optional
Example
[
{
"name": "Bilgisayar",
"total": 2
},
{
"name": "Binek Araç",
"total": 1
},
{
"name": "Cep Telefonu",
"total": 1
},
{
"name": "Dizüstü Bilgisayar",
"total": 1
},
{
"name": "Ofis Mobilyaları",
"total": 2
},
{
"name": "TESDWHJA",
"total": 1
}
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-23 13:37:55