/
Add Jobs to Concatenated...
The list of available jobs can be found from the list of jobs, filtering them by available_for_concatenated_order.
Security
key
- Mock serverhttps://developer.radaro.com.au/_mock/split-external-api/api/webhooks/concatenated-jobs/{order_id}/orders/?lookup_field=order_id
- https://api.radaro.com.auhttps://api.radaro.com.au/api/webhooks/concatenated-jobs/{order_id}/orders/?lookup_field=order_id
curl -i -X PATCH \
'https://developer.radaro.com.au/_mock/split-external-api/api/webhooks/concatenated-jobs/{order_id}/orders/?lookup_field=order_id?key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"order_ids": [
123456789
],
"external_ids": [
"external_id"
]
}'200
Example:"http://example.com/order/Ng/045da558-bdec-46b1-a4eb-844056af66b8?domain=example.com&merchant_identifier=merchant-dev&cluster_number=dev&lang=en-au"
Response
{ "external_id": "111111", "deliver_after": "2020-02-06T09:00:00Z", "deliver_before": "2020-02-06T11:00:00Z", "delivery_interval": { "upper": "2020-02-06T11:00:00Z", "lower": "2020-02-06T09:00:00Z" }, "manager": { "member_id": 123125, "email": "johndoe@gmail.com", "first_name": "John", "last_name": "Doe", "avatar": "path/to/avatar", "is_online": true, "work_status": "not_working", "phone": "+61400000000", "thumb_avatar_100x100": "path/to/thumb/avatar", "can_make_payment": true, "merchant_position": "Manager", "full_name": "John Doe", "role": "Manager" }, "customer": { "id": 6, "name": "John Doe", "email": "johndoe@gmail.com", "phone": "1080002023" }, "deliver_address": { "location": "-37.8139 144.96452", "address": "1 Example St, Melbourne VIC 3000, Australia", "post_code": "80-111", "description": "My home" }, "deliver_address_2": "2nd floor, apartment 12", "confirmation_signature": "/path/to/confirmation/signature", "title": "PO1298371", "title_2": "TD12345", "title_3": "Title 3", "comment": "Order #3", "started_at": "2020-02-06T009:30:00Z", "picked_up_at": "2020-02-06T009:30:00Z", "status": "in_progress", "order_id": 123234, "starting_point": { "location": "-37.8139 144.96452", "address": "1 Example St, Melbourne VIC 3000, Australia", "post_code": "80-111", "description": "My home" }, "confirmation_comment": "Comment", "updated_at": "2020-02-06T009:30:00Z", "created_at": "2020-01-06T009:20:00Z", "rating": 10, "customer_comment": "Comment", "pending_comment": "2nd floor", "customer_review_opt_in": false, "deadline_passed": false, "driver": 345322, "merchant": 1, "description": "**Formatted job description**", "error_code": { "code": 501, "name": "Job Error #1", "is_comment_necessary": false }, "error_comment": "Error comment", "completion_code": { "code": 200, "type": "success", "name": "Success code #1" }, "completion_codes": [ { … } ], "completion_comment": "Completion comment", "customer_tracking_url": "http://account.radaro.com.au/#/order/NTc0NQ/32fe9c08-105e-4128-b2a2-9cecb0859fb4", "is_confirmed_by_customer": false, "order_confirmation_photos": [ { … } ], "order_confirmation_documents": [ { … } ], "pre_inspection_comment": "Comment", "pre_inspection_signature": "/path/to/pre-inspection/signature", "pre_inspection_photos": [ { … } ], "driver_checklist": { "is_correct": true, "checklist_confirmed": false, "checklist_passed": true }, "pre_confirmation_photos": [ { … } ], "pre_confirmation_signature": "/path/to/pre-inspection/signature", "pre_confirmation_comment": "Comment", "skill_sets": [ 1, 3 ], "labels": [ 2 ], "barcodes": [ { … } ], "wayback_point": { "location": "-37.8139 144.96452", "address": "1 Example St, Melbourne VIC 3000, Australia", "post_code": "80-111", "description": "My home" }, "wayback_hub": { "id": 1, "name": "Common Hub", "location": {} }, "completed_at": "2020-02-06T009:30:00Z", "pick_up_confirmation_photos": [ { … } ], "pick_up_confirmation_signature": "/path/to/pickup-confirmation/signature", "pick_up_confirmation_comment": "Comment", "public_report_link": "https://example.com/", "optimisation_id": 3456, "enable_rating_reminder": true, "custom_redirect_url": "https://example.com/", "orders": [ { … } ], "capacity": 200, "capacity_2": 50, "capacity_3": 100, "service_time_sec": 5 }