Skip to content

Barcodes

You could add/update/delete job's barcodes together with job update

Parameters
NameTypeRequiredDescription
idstring✅ YesJob ID required for lookup (Radaro Job ID or external job ID depending on the lookup field). Example: "2345"
keystring✅ YesAPI access key. Example: "a46dfc0e-4b59-448d-8a41-0745af6458ff"
lookup_fieldstring❌ NoField name for job lookup. Default: "external_id".
Allowed values: "external_id", "order_id"

Add Barcode

Request

Security
key
Path
job_id_for_add_barcodestringrequired

Job ID which is required for lookup (Radaro Job ID or external job id depending on the lookup field).

Query
lookup_fieldstring

Field name for job lookup, "order_ID" or "external_id".

Default:"external_id"
Enum:"external_id""order_id"
Bodyapplication/json
barcodesArray of objects(BarcodesEdit)
curl -i -X PATCH \
  'https://developer.radaro.com.au/_mock/split-external-api/api/webhooks/jobs/{job_id_for_add_barcode}/?lookup_field=external_id&key=YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "barcodes": [
      {
        "id": 1,
        "code_data": "9300633512345",
        "required": false,
        "comment": "Fragile",
        "scanned_at_the_warehouse": false,
        "scanned_upon_delivery": false
      }
    ]
  }'

Responses

200

Bodyapplication/json
deliver_afterstring, (date-time)
Example:"2020-11-15T13:54:14.748154Z"
deliver_beforestring, (date-time)
Example:"2020-11-15T13:54:14.748154Z"
managerobject
customerobject
deliver_addressobject
deliver_address_2string
Example:"2nd floor, apartment 12"
delivery_zoneinteger
Default:0
Example:123
pickup_afterstring, (date-time)
Example:"2020-11-15T13:54:14.748154Z"
pickup_beforestring, (date-time)
Example:"2020-11-15T13:54:14.748154Z"
pickup_addressobject
pickup_address_2string
Example:"2nd floor, apartment 12"
pickupany
delivery_intervalobject
starting_pointany
confirmation_signaturestring
Example:"/path/to/confirmation/signature"
geofence_entered_atstring
Example:"2020-02-06T010:00:00Z"
geofence_exited_atstring
Example:"2020-02-06T011:00:00Z"
titlestring
Example:"PO1298371"
title_2string
Example:""
title_3string
Example:""
commentstring
Example:"37\n,\n3343830956,2021/09/26 00:00"
started_atstring
Example:"2020-02-06T009:30:00Z"
order_distanceany
statusstring
Example:"pending"
order_idinteger
Default:0
Example:12109601
confirmation_commentstring
Example:"Comment"
updated_atstring
Example:"2020-11-15T10:54:15.139140Z"
created_atstring
Example:"2020-11-15T10:54:15.139291Z"
ratingany
customer_commentstring
Example:"Comment"
pending_commentstring
Example:"2nd floor"
durationstring
Example:"00:10:00"
deadline_passedboolean
Default:true
Example:false
external_idstring
Example:"2345"
driverinteger
Default:0
Example:342453
merchantinteger
Default:0
Example:1
descriptionstring
Example:"**One pizza without cheese**"
sub_brandinginteger
Default:0
Example:123
labelinteger
Default:0
Example:5
labelsArray of integers
skill_setsArray of objects
error_codeany
error_commentstring
Example:"Error comment"
customer_tracking_urlstring
Example:""
order_confirmation_photosArray of objects
order_confirmation_documentsArray of objects
order_pickup_confirmation_documentsArray of objects
pre_inspection_commentany
pre_inspection_signatureany
pre_inspection_photosArray of objects
pre_confirmation_commentany
pre_confirmation_signatureany
pre_confirmation_photosArray of objects
completion_codeany
completion_commentstring
Example:"Completion comment"
pickup_completion_commentstring
Example:"Completion comment"
driver_checklistobject
driver_pickup_checklistobject
barcodesArray of objects
pickup_geofence_entered_atstring
Example:"2020-02-06T010:00:00Z"
pickup_geofence_exited_atstring
Example:"2020-02-06T011:00:00Z"
pick_up_confirmation_photosany
pick_up_confirmation_signatureany
pick_up_confirmation_commentany
capacitynumber
Default:0
Example:1.13
capacity_2number
Default:0
Example:5.22
capacity_3number
Default:0
Example:6.78
optimisation_idany
enable_rating_reminderboolean
Default:true
Example:true
custom_redirect_urlstring
Example:"https://example.com/"
concatenated_orderobject
priorityinteger or null
Example:1
territoryinteger
Default:0
Example:2
delivery_receiver_namestring
Example:"John Doe"
pickup_receiver_namestring
Example:"John Doe"
pickup_acknowledgment_passedboolean
Default:true
Example:false
delivery_acknowledgment_passedboolean
Default:true
Example:false
pre_inspection_videosArray of objects(ConfirmationVideos)
order_confirmation_videosArray of objects(ConfirmationVideos)
pre_confirmation_videosArray of objects(ConfirmationVideos)
pick_up_confirmation_videosArray of objects(ConfirmationVideos)
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": "http://example.com/media/", "can_make_payment": true, "merchant_position": "Admin Manager", "full_name": "" }, "customer": { "name": "John Doe", "email": "johndoe@gmail.com", "phone": "+61400000000" }, "deliver_address": { "address": "1 Example St, Melbourne VIC 3000, Australia", "location": "-37.813600,144.963100", "post_code": "3179", "description": "" }, "deliver_address_2": "2nd floor, apartment 12", "delivery_zone": 123, "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\n", "started_at": null, "order_distance": null, "status": "assigned", "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": 342453, "merchant": 1, "description": "**One pizza without cheese**", "sub_branding": 126, "label": 185, "labels": [ 185 ], "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 }, "barcodes": [ { … } ], "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": 1.13, "capacity_2": 5.22, "capacity_3": 6.78, "optimisation_id": null, "enable_rating_reminder": true, "custom_redirect_url": null, "concatenated_order": { "order_id": 173754344, "external_id": null }, "priority": 1, "territory": 6 }