- 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
Retrieve a Product
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/products/{code}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
code
string
required
Example:
2023002
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/products/'
Responses
🟢200OK
application/json
Body
array of:
code
string
required
barcode
string
required
product_name
string
required
country_id
string
required
gtip_code
string
required
price
number
required
price_curr
string
required
weight_unit
string
required
imco
string
required
min_count
integer
required
min_temperature
number
required
storage_area
string
required
length
number
required
width
number
required
height
number
required
sku_model
string
required
io_type
string
required
status
string
required
pack_type
string
optional
Example
[
{
"code": "string",
"barcode": "string",
"product_name": "string",
"country_id": "string",
"gtip_code": "string",
"price": 0,
"price_curr": "string",
"weight_unit": "string",
"imco": "string",
"min_count": 0,
"min_temperature": 0,
"storage_area": "string",
"length": 0,
"width": 0,
"height": 0,
"sku_model": "string",
"io_type": "string",
"status": "string",
"pack_type": "string"
}
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-23 13:38:35