Get Job Detail By Order ID
Retrieve detailed information about a specific job using its order ID.
Notes:
- Requires the order ID as a path parameter.
- Returns the same comprehensive job details as Get Job Detail endpoint.
- The order ID should be a valid string value provided when creating the job.
- Useful for retrieving job information when you have the order ID instead of the internal job ID.
Parameters
order_id
string
RequiredThe order ID of the job to retrieve details for.
GET/v1/jobs/order/{order_id}
bash
curl https://api.lynxo.ai/v1/jobs/order/{order_id} \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR....." \
-H "Content-Type: application/json" \
-d '{"order_id":"ORD123459"}'RESPONSE
{
"job": {
"id": 8483233,
"order_id": "ORD123459",
"type": "pickup_delivery",
"status": 2,
"notes": "Handle with care",
"created_at": 1754679308,
"updated_at": 1754701185,
"rider": {
"id": 3938720,
"reference_id": "RR3938720",
"name": "Najemudeen",
"username": "mnajemudeen",
"dial_code": "",
"mobile": "",
"email": "najemudeen@gmail.com",
"type": "rider",
"status": 1,
"profile_pic": "",
"email_verified": false,
"phone_verified": false,
"metadata": {},
"last_coordinates": {
"longitude": null,
"latitude": null
},
"created_at": 1750053813,
"updated_at": 1750053813
},
"pickups": [
{
"id": 32,
"status": 1,
"pickup_slot_from": 1754680860,
"pickup_slot_to": 1754681040,
"created_at": 1754679308,
"updated_at": 1754679308,
"address": {
"id": 6475714,
"reference_id": "ADR6475714",
"name": "",
"building": "",
"floor": "",
"door": "",
"line_1": "Vannarapet Road",
"line_2": "",
"landmark": "khjk",
"city": "Bengaluru",
"state": "Karnataka",
"district": "Austin Town",
"post_code": "560047",
"country": "India",
"notes": "",
"coordinates": {
"latitude": 12.9564672,
"longitude": 77.6208384
},
"formatted_address": "Vannarapet Road, Austin Town, Karnataka, Bengaluru, India, 560047",
"created_at": 1754679,
"updated_at": 1754679,
"created_by": {
"user_type": "iam",
"user_id": "42",
"user_name": "Best Account"
},
"updated_by": null
},
"customer": {
"id": 1789139,
"reference_id": "",
"name": "john",
"mobile": "+919876543210",
"dial_code": "966",
"alternate_mobile": "",
"alternate_mobile_dial_code": "",
"email": "john@gmail.com",
"email_verified": false,
"mobile_verified": false,
"status": 1,
"created_at": 1754288707,
"updated_at": 1754288707
},
"next_status": [
2,
5,
6
],
"in_progress": false,
"completed": false,
"packages": [
{
"package_id": "PKG001122",
"barcode": "BAR123"
}
],
"status_history": []
}
],
"deliveries": [
{
"id": 30,
"status": 1,
"first_order": false,
"enable_otp": false,
"otp": "",
"note": "",
"unattended_delivery": false,
"leave_at_door": false,
"dont_ring_bell": false,
"age_restricted_delivery": false,
"signature_required": false,
"signature_image": "",
"proof_of_delivery_images": [],
"payment_type": 1,
"amount": 0,
"tracking_id": "42-1774-ONN",
"delivery_slot_from": 1754852040,
"delivery_slot_to": 1754938680,
"created_at": 1754679308,
"updated_at": 1754679308,
"address": {
"id": 7946315,
"reference_id": "ADR7946315",
"name": "",
"building": "",
"floor": "",
"door": "",
"line_1": "6th Cross Road",
"line_2": "",
"landmark": "hjfyug",
"city": "Bengaluru",
"state": "Karnataka",
"district": "Austin Town",
"post_code": "560047",
"country": "India",
"notes": "",
"coordinates": {
"latitude": 12.965256606553893,
"longitude": 77.61356266777989
},
"formatted_address": "6th Cross Road, Austin Town, Karnataka, Bengaluru, India, 560047",
"created_at": 1754679,
"updated_at": 1754679,
"created_by": {
"user_type": "iam",
"user_id": "42",
"user_name": "Best Account"
},
"updated_by": null
},
"customer": {
"id": 7307244,
"reference_id": "",
"name": "Mohamed anas",
"mobile": "+918098520795",
"dial_code": "966",
"alternate_mobile": "",
"alternate_mobile_dial_code": "",
"email": "smohamedanas99@gmail.com",
"email_verified": false,
"mobile_verified": false,
"status": 1,
"created_at": 1754678206,
"updated_at": 1754678206
},
"next_status": [
2,
5,
6
],
"in_progress": false,
"completed": false,
"packages": [
{
"package_id": "PKG001122",
"barcode": "BAR123"
}
],
"status_history": [
{
"status": 6,
"remarks": "Job deleted by admin",
"created_by": {
"user_type": "iam",
"user_id": "42",
"user_name": "Best Account"
},
"created_at": 1754679308
}
]
}
],
"status_history": [
{
"status": 1,
"remarks": "",
"created_by": {
"user_type": "iam",
"user_id": "42",
"user_name": "Best Account"
},
"created_at": 1754679308
},
{
"status": 2,
"remarks": "",
"created_by": {
"user_type": "iam",
"user_id": "42",
"user_name": "Best Account"
},
"created_at": 1754701185
}
],
"next_status": [
3,
5,
7
]
}
}