Get Order By ID
Developing
GET
/v1/order
Request
Query Params
_id
string
required
Example:
67acb143aff86ec69d652e8a
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=67acb143aff86ec69d652e8a' \
--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
instructions
string
required
status
string
required
shipping_address
object
required
items
array [object {11}]
required
shipments
array [object {15}]
required
shipped_at
string
required
Example
{
"success": true,
"payload": {
"_id": "67acb143aff86ec69d652e8a",
"warehouse_id": "632f6d0285f8727169719897",
"client_id": "6310b48233cbac5151bc9594",
"client_name": "Apple",
"code": 2399,
"instructions": "Handle with care",
"status": "closed",
"shipping_address": {
"name": "Jane Smith",
"email": "jane.smith@example.com",
"company": "Smith Industries",
"address_line1": "456 Elm St",
"address_line2": "Suite 200",
"city": "San Francisco",
"state": "California",
"state_code": "CA",
"country": "United States",
"country_code": "US",
"zip": "94103",
"phone_number": {
"number": "4151234567",
"country_code": "+1"
}
},
"items": [
{
"item_id": "636ceba955d7409864ece825",
"sku": "2020",
"total_qty": 10,
"unit": "meter",
"scannable": "20202222",
"name": "iphone 20",
"description": "teststing item 2020",
"base_conversion_rate": 1,
"base_unit": "meter",
"shipped_qty": 10,
"shipped_qty_unit": "meter"
}
],
"shipments": [
{
"shipment_id": "shp_4f48e706d55f48da83547daf4760a77e",
"shipment_status": "scheduled",
"carrier": "USPS",
"service": "GroundAdvantage",
"cost": {
"value": 12.881,
"currency": "USD"
},
"tracking_number": "9436200208271109445315",
"label": "https://leanafywms-stage-shipment.s3.amazonaws.com/202502141846180854071430000UTCm10345987681218leanafypost_label_shp_4f48e706d55f48da83547daf4760a77e.pdf",
"public_url": "https://track.easypost.com/djE6dHJrX2E2MTIzOGYxNDhiZDQyMTg4ZDFjN2M1YzhiYTE1Njk0",
"ship_date": "2025-02-14T12:30:00Z",
"created_at": "2025-02-14T18:46:11Z",
"to_address": {
"name": "Jane Smith",
"company": "Smith Industries",
"address_line1": "456 Elm St",
"address_line2": "Suite 200",
"city": "San Francisco",
"state": "CA",
"state_code": "CA",
"country": "US",
"country_code": "US",
"zip": "94103",
"phone_number": {
"number": "7878456578",
"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": 35.27
},
"dimensions": {
"unit": "in",
"length": 7.87,
"width": 8.27,
"height": 8.66
},
"delivery_date": "2025-02-18T18:46:11Z"
}
],
"shipped_at": "2025-02-14"
}
}
🔴500Server Error

Modified at 2025-04-14 13:23:23