- Introduction
- Authentication and Authorization
- Support
- Items
- Orders
- ARNs
Get Order By ID
GET
/v1/order
order
Request
Query Params
_id
string
required
Example:
682ec3ba306cfa2ead0f6dc9
Header Params
X-API-Key
string
required
Example:
{{APIKEY}}
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://nova-sandbox.leanafywms.com/v1/order?_id=682ec3ba306cfa2ead0f6dc9' \
--header 'X-API-Key: '
Responses
🟢200Success
application/json
Body
success
boolean
required
payload
object
required
_id
string
required
warehouse_id
string
required
client_id
string
required
client_name
string
required
code
integer
required
status
string
required
shipping_address
object
required
items
array [object {11}]
required
customer_type
string
required
due_date
string
required
shipments
array [object {16}]
required
shipped_at
string
required
Example
{
"success": true,
"payload": {
"_id": "682ec3ba306cfa2ead0f6dc9",
"warehouse_id": "632f6d0285f8727169719897",
"client_id": "6310b48233cbac5151bc9594",
"client_name": "Apple",
"code": 3091,
"status": "shipped",
"shipping_address": {
"name": "Karan Singhasane USA",
"company": "KS US Inc",
"address_line1": "3330 Holloman Rd",
"city": "Falls Church",
"state": "Virginia",
"state_code": "VA",
"country": "United States",
"country_code": "US",
"zip": "22042",
"phone_number": {
"number": "7878654578",
"country_code": "+1"
}
},
"items": [
{
"item_id": "636ceba955d7409864ece825",
"sku": "2020",
"total_qty": 5,
"unit": "meter",
"scannable": "20202222",
"name": "iphone 20",
"description": "teststing item 2020",
"base_conversion_rate": 1,
"base_unit": "meter",
"shipped_qty": 5,
"shipped_qty_unit": "meter"
}
],
"customer_type": "B2B",
"due_date": "2025-05-25",
"shipments": [
{
"shipment_id": "shp_8736e5f3d08141a3ab39523da00b2fdf",
"shipment_status": "scheduled",
"carrier": "USPS",
"service": "GroundAdvantage",
"cost": {
"value": 4.972,
"currency": "USD"
},
"tracking_number": "9418400208303109451114",
"label": "https://leanafywms-stage-shipment.s3.amazonaws.com/202505220637557474935750000UTCm81988771893552leanafypost_label_shp_8736e5f3d08141a3ab39523da00b2fdf.pdf",
"public_url": "https://track.easypost.com/djE6dHJrXzU1MGJhYTMwOTk0MjQ4YmJhYWRkOGFhZTA2YzMwMDgx",
"ship_date": "2025-05-22T12:30:00Z",
"created_at": "2025-05-22T06:30:32Z",
"to_address": {
"name": "KARAN SINGHASANE USA",
"company": "KS US INC",
"address_line1": "3330 HOLLOMAN RD",
"city": "FALLS CHURCH",
"state": "VA",
"state_code": "VA",
"country": "US",
"country_code": "US",
"zip": "22042-4137",
"phone_number": {
"number": "7878654578",
"country_code": "+1"
}
},
"from_address": {
"company": "Apple",
"address_line1": "3815 River Crossing Pkwy",
"city": "Indianapolis",
"state": "IN",
"state_code": "IN",
"country": "US",
"country_code": "US",
"zip": "46240",
"phone_number": {
"number": "7878654578",
"country_code": "+1"
}
},
"weight": {
"unit": "oz",
"value": 7.05
},
"dimensions": {
"unit": "in",
"length": 7.87,
"width": 8.27,
"height": 8.66
},
"delivery_date": "2025-05-25T06:30:32Z",
"items": [
{
"item_id": "636ceba955d7409864ece825",
"sku": "2020",
"scannable": "20202222",
"name": "iphone 20",
"description": "teststing item 2020",
"quantity": 2,
"unit": "meter",
"base_conversion_rate": 1,
"weight": 45.78,
"hs_tariff_number": "33442255",
"origin_country": "US",
"value": "23.45",
"currency": "USD",
"is_hazmat": true,
"hazmat_type": "CLASS_9_UNMARKED_LITHIUM",
"tracking_info": [
{
"serial_number": "serial 1",
"quantity": 1
},
{
"serial_number": "serial 2",
"quantity": 1
}
]
}
]
},
{
"shipment_id": "shp_c79fe559c31b4102b1a49e8a03f2900b",
"shipment_status": "scheduled",
"carrier": "USPS",
"service": "GroundAdvantage",
"cost": {
"value": 4.972,
"currency": "USD"
},
"tracking_number": "9418400208303109451138",
"label": "https://leanafywms-stage-shipment.s3.amazonaws.com/202505220640072847140760000UTCm82120309113933leanafypost_label_shp_c79fe559c31b4102b1a49e8a03f2900b.pdf",
"public_url": "https://track.easypost.com/djE6dHJrX2IwYzMxNjA4OGQyNjRmOWZiYTY0N2JjYmMzMDUzMTcw",
"ship_date": "2025-05-22T12:30:00Z",
"created_at": "2025-05-22T06:39:40Z",
"to_address": {
"name": "KARAN SINGHASANE USA",
"company": "KS US INC",
"address_line1": "3330 HOLLOMAN RD",
"city": "FALLS CHURCH",
"state": "VA",
"state_code": "VA",
"country": "US",
"country_code": "US",
"zip": "22042-4137",
"phone_number": {
"number": "7878654578",
"country_code": "+1"
}
},
"from_address": {
"company": "Apple",
"address_line1": "3815 River Crossing Pkwy",
"city": "Indianapolis",
"state": "IN",
"state_code": "IN",
"country": "US",
"country_code": "US",
"zip": "46240",
"phone_number": {
"number": "7878654578",
"country_code": "+1"
}
},
"weight": {
"unit": "oz",
"value": 7.05
},
"dimensions": {
"unit": "in",
"length": 7.87,
"width": 8.27,
"height": 8.66
},
"delivery_date": "2025-05-25T06:39:40Z",
"items": [
{
"item_id": "636ceba955d7409864ece825",
"sku": "2020",
"scannable": "20202222",
"name": "iphone 20",
"description": "teststing item 2020",
"quantity": 3,
"unit": "meter",
"base_conversion_rate": 1,
"weight": 45.78,
"hs_tariff_number": "33442255",
"origin_country": "US",
"value": "23.45",
"currency": "USD",
"is_hazmat": true,
"hazmat_type": "CLASS_9_UNMARKED_LITHIUM",
"tracking_info": [
{
"value": "serial 1",
"quantity": 1
},
{
"value": "serial 2",
"quantity": 1
},
{
"value": "serial 3",
"quantity": 1
}
]
}
]
}
],
"shipped_at": "2025-05-22"
}
}
🔴500Server Error

Modified at 2025-05-22 06:49:58