- Terminate Job
Bulk Job Operations
Create Job (Single-User API Key)
Create Job (Multi-User API Key)
List Jobs
Lookup Job by External ID
Delete Job by External ID
Update Job by External ID
Assign Driver
Unassign Driver
CSV Uploading
List Uploaded Jobs
Update Job by Order ID
Lookup Job by Order ID
Delete Job by Order ID
Terminate Job
You can not set status terminate for jobs that have been already marked as confirmed.
You also can send completion_comment with list of completion_codes_ids for add to Order.
In this request you can use PUT method instead of PATCH.
Security
key
- Mock serverhttps://developer.radaro.com.au/_mock/split-external-api/api/webhooks/jobs/{id}/terminate/
- https://api.radaro.com.auhttps://api.radaro.com.au/api/webhooks/jobs/{id}/terminate/
curl -i -X PATCH \
'https://developer.radaro.com.au/_mock/split-external-api/api/webhooks/jobs/{id}/terminate/?lookup_field=external_id&key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"completion_comment": "Failed job",
"completion_codes_ids": []
}'200
Response
{ "deliver_after": null, "deliver_before": "2020-11-15T13:54:14.748154Z", "manager": { "member_id": 123127, "email": "johndoe@gmail.com", "first_name": "", "last_name": "", "avatar": null, "is_online": true, "phone": "+61400000000", "thumb_avatar_100x100": null, "can_make_payment": true, "merchant_position": "Admin Manager", "full_name": "" }, "customer": { "email": "", "name": "John Doe", "phone": "" }, "deliver_address": { "address": "", "location": "-37.813600,144.963100", "description": "" }, "deliver_address_2": "2nd floor, apartment 12", "pickup_after": null, "pickup_before": null, "pickup_address": null, "pickup_address_2": null, "pickup": null, "delivery_interval": null, "starting_point": null, "confirmation_signature": null, "geofence_entered_at": null, "geofence_exited_at": null, "title": "PO1298371", "title_2": "", "title_3": "", "comment": "37\n,\n3343830956,2021/09/26 00:00", "started_at": null, "order_distance": null, "status": "failed", "order_id": 12109601, "confirmation_comment": null, "updated_at": "2020-11-15T10:54:15.139140Z", "created_at": "2020-11-15T10:54:15.139291Z", "rating": null, "customer_comment": null, "pending_comment": null, "duration": null, "deadline_passed": false, "external_id": "2345", "driver": 345521, "merchant": 1, "description": "**One pizza without cheese**", "label": 5, "labels": [ 5 ], "skill_sets": [], "error_code": null, "error_comment": null, "customer_tracking_url": "", "order_confirmation_photos": [ { … } ], "order_confirmation_documents": [], "pre_inspection_comment": null, "pre_inspection_signature": null, "pre_inspection_photos": [], "pre_confirmation_comment": null, "pre_confirmation_signature": null, "pre_confirmation_photos": [], "completion_code": null, "completion_comment": null, "driver_checklist": { "is_correct": null, "checklist_confirmed": false, "checklist_passed": false }, "pickup_geofence_entered_at": null, "pickup_geofence_exited_at": null, "pick_up_confirmation_photos": null, "pick_up_confirmation_signature": null, "pick_up_confirmation_comment": null, "capacity": null, "optimisation_id": null, "enable_rating_reminder": true, "custom_redirect_url": null, "concatenated_order": { "order_id": 173754344, "external_id": null } }