- 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 Product Stocks
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/product_stocks
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
warehouse_code
string
optional
page
number
optional
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/product_stocks?warehouse_code=&page='
Responses
🟢200OK
application/json
Body
warehouse_code
string
required
report_id
string
required
interface_code
string
required
items_count
string
required
products
array [object {6}]
required
line_no
integer
optional
quantity
integer
optional
barcode
string
optional
product_name
string
optional
pack_type
string
optional
subinventory_code
string
optional
Example
{
"warehouse_code": "string",
"report_id": "string",
"interface_code": "string",
"items_count": "string",
"products": [
{
"line_no": 0,
"quantity": 0,
"barcode": "string",
"product_name": "string",
"pack_type": "string",
"subinventory_code": "string"
}
]
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-26 07:49:33