You could add/update/delete job's SKIDs together with job update
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | ✅ Yes | Job ID required for lookup (Radaro Job ID or external job ID depending on the lookup field). Example: "2345" |
key | string | ✅ Yes | API access key. Example: "a46dfc0e-4b59-448d-8a41-0745af6458ff" |
lookup_field | string | ❌ No | Field name for job lookup. Default: "external_id". Allowed values: "external_id", "order_id" |
Security
key
- Mock serverhttps://developer.radaro.com.au/_mock/split-external-api/api/webhooks/jobs/{id}/
- https://api.radaro.com.auhttps://api.radaro.com.au/api/webhooks/jobs/{id}/
curl -i -X PATCH \
'https://developer.radaro.com.au/_mock/split-external-api/api/webhooks/jobs/{id}/?lookup_field=external_id&key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"cargoes": {
"skids": [
{
"id": 1
}
]
}
}'200
Example:"http://example.com/order/MzUwMDI/0f6f5224-6b5a-42e8-bb12-0ed36568c8c3?domain=example.com&merchant_identifier=merchant-dev&cluster_number=dev"
Response
{ "external_id": "k_3333", "deliver_after": null, "deliver_before": "2020-08-19T23:59:22.281000+10:00", "delivery_interval": null, "manager": { "member_id": 80619623, "email": "johndoe@gmail.com", "first_name": "", "last_name": "", "avatar": null, "is_online": true, "work_status": "working", "phone": "+61400000000", "thumb_avatar_100x100": null, "can_make_payment": false, "merchant_position": "Manager", "full_name": "", "role": "Manager" }, "customer": { "id": 35002, "email": "johndoe@gmail.com", "name": "John Doe", "phone": "+61400000000" }, "deliver_address": { "id": 52190, "address": "", "raw_address": "", "location": "-37.813600,144.963100", "description": "" }, "deliver_address_2": "", "pickup_address": null, "pickup": null, "pickup_after": null, "pickup_before": null, "confirmation_signature": null, "geofence_entered_at": null, "geofence_exited_at": null, "title": "PO1298372", "title_2": "", "title_3": "", "comment": "Job_2_comment", "started_at": null, "picked_up_at": null, "pick_up_distance": null, "order_distance": null, "status": "not_assigned", "order_id": 178503887, "starting_point": null, "confirmation_comment": null, "updated_at": "2020-08-19T20:59:23.651836+10:00", "created_at": "2020-08-19T20:59:23.651887+10:00", "rating": null, "customer_comment": null, "pending_comment": null, "customer_review_opt_in": false, "duration": null, "deadline_passed": false, "driver": null, "merchant": 59, "description": "", "sub_branding": null, "label": null, "labels": [], "error_code": null, "error_comment": null, "completion_code": null, "completion_codes": [], "completion_comment": null, "customer_tracking_url": "http://example.com/order/MzUwMDI/0f6f5224-6b5a-42e8-bb12-0ed36568c8c3?domain=example.com&merchant_identifier=merchant-dev&cluster_number=dev", "is_confirmed_by_customer": false, "order_confirmation_photos": [], "order_confirmation_documents": [], "pre_inspection_comment": null, "pre_inspection_signature": null, "pre_inspection_photos": [], "driver_checklist": { "is_correct": null, "checklist_confirmed": false, "checklist_passed": false }, "pre_confirmation_photos": [], "pre_confirmation_signature": null, "pre_confirmation_comment": null, "skill_sets": [], "barcodes": [], "wayback_point": null, "wayback_hub": null, "completed_at": null, "pickup_geofence_entered_at": null, "pickup_geofence_exited_at": null, "pick_up_confirmation_photos": [], "pick_up_confirmation_signature": null, "pick_up_confirmation_comment": null, "cargoes": { "skids": [ … ] }, "capacity": null }