Changed Line Level Data

Token in body

{
    "new_values": {
        "cargoes": {
            "skids": [],
            "line_level_data": [
                {
                    "id": 101,
                    "line_id": 1,
                    "code": "iPhone 13",
                    "description": "iPhone 13 256 GB silver gray, help with setup",
                    "weight": {
                        "value": 113.0,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 122.34,
                        "height": 132.34,
                        "length": 112.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1100.99",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 102,
                    "line_id": 2,
                    "code": "Xiaomi redmi 3s",
                    "description": "Xiaomi redmi 3s slow smartphone",
                    "weight": {
                        "value": 11.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 12.34,
                        "height": 13.34,
                        "length": 11.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "54.49",
                        "currency": "AUD"
                    },
                    "picked_up": true,
                    "delivered": false,
                    "picked_up_reason": {
                        "codes": [
                            {
                                "code": 601,
                                "name": "Line Level Data Success #1",
                                "type": "success"
                            },
                            {
                                "code": 603,
                                "name": "Line Level Data Success #3",
                                "type": "success"
                            }
                        ],
                        "comment": null
                    },
                    "delivered_reason": {
                        "codes": [
                            {
                                "code": 403,
                                "name": "Line Level Data Fail #3",
                                "type": "fail"
                            }
                        ],
                        "comment": "Customer don't want to pay for delivery"
                    },
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 103,
                    "line_id": 3,
                    "code": "MacBook Pro 14 M2 Pro",
                    "description": "MacBook Pro 14 M2 Pro. No assistance needed",
                    "weight": {
                        "value": 2111.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 42.34,
                        "height": 13.34,
                        "length": 31.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "2131.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                }
            ]
        }
    },
    "old_values": {
        "cargoes": {
            "skids": [],
            "line_level_data": [
                {
                    "id": 101,
                    "line_id": 1,
                    "code": "iPhone 13",
                    "description": "iPhone 13 256 GB silver gray, help with setup",
                    "weight": {
                        "value": 113.0,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 122.34,
                        "height": 132.34,
                        "length": 112.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1100.99",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 102,
                    "line_id": 2,
                    "code": "Xiaomi redmi 3s",
                    "description": "Xiaomi redmi 3s slow smartphone",
                    "weight": {
                        "value": 1911.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 22.34,
                        "height": 23.34,
                        "length": 21.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1531.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 103,
                    "line_id": 3,
                    "code": "MacBook Pro 14 M2 Pro",
                    "description": "MacBook Pro 14 M2 Pro. No assistance needed",
                    "weight": {
                        "value": 2111.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 42.34,
                        "height": 13.34,
                        "length": 31.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "2131.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                }
            ]
        }
    },
    "order_info": {
        "external_id": "external-job-000",
        "deliver_after": null,
        "deliver_before": "2021-02-01T03:31:53.758311+11:00",
        "delivery_interval": null,
        "manager": {
            "member_id": 40,
            "email": "[email protected]",
            "first_name": "Robert",
            "last_name": "Turner",
            "avatar": "/media/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8.png",
            "is_online": false,
            "work_status": "not_working",
            "phone": "+61370101435",
            "thumb_avatar_100x100": "/media/thumbnails/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8_100x100.png",
            "can_make_payment": true,
            "merchant_position": "Admin Manager",
            "full_name": "Robert Turner",
            "role": "Admin Manager"
        },
        "customer": {
            "id": 97,
            "email": "[email protected]",
            "name": "Paul Tucker",
            "phone": "+61322188091"
        },
        "deliver_address": {
            "id": 543,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": ""
        },
        "deliver_address_2": "",
        "pickup_address": {
            "id": 77,
            "address": "1A Dalgety St, Brunswick West VIC 3055, Australia",
            "raw_address": "",
            "location": "-37.76337848,144.94200468",
            "description": ""
        },
        "pickup_address_2": "",
        "pickup": null,
        "pickup_after": null,
        "pickup_before": null,
        "confirmation_signature": null,
        "geofence_entered_at": null,
        "geofence_exited_at": null,
        "title": "Job: ID 193668573",
        "title_2": "",
        "title_3": "",
        "comment": "",
        "started_at": null,
        "picked_up_at": null,
        "pick_up_distance": null,
        "order_distance": null,
        "status": "in_progress",
        "order_id": 193668573,
        "starting_point": {
            "id": 1,
            "address": "261 Franklin St, Melbourne VIC 3000, Australia",
            "raw_address": "",
            "location": "-37.80969919,144.95676756",
            "description": ""
        },
        "confirmation_comment": null,
        "updated_at": "2020-09-09T23:39:23.507505+10:00",
        "created_at": "2020-09-09T23:39:23.507587+10:00",
        "rating": null,
        "customer_comment": null,
        "pending_comment": null,
        "customer_review_opt_in": false,
        "duration": null,
        "deadline_passed": false,
        "driver": 51851966,
        "merchant": 1,
        "description": "",
        "sub_branding": 1,
        "label": null,
        "labels": [],
        "error_code": null,
        "error_comment": null,
        "completion_code": null,
        "completion_codes": [],
        "completion_comment": null,
        "customer_tracking_url": "https://rtra.cc/pFIEJ",
        "is_confirmed_by_customer": false,
        "order_confirmation_photos": [],
        "order_confirmation_documents": [],
        "pre_inspection_comment": null,
        "pre_inspection_signature": null,
        "pre_inspection_photos": [],
        "driver_checklist": null,
        "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": [],
            "line_level_data": [
                {
                    "id": 101,
                    "line_id": 1,
                    "code": "iPhone 13",
                    "description": "iPhone 13 256 GB silver gray, help with setup",
                    "weight": {
                        "value": 113.0,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 122.34,
                        "height": 132.34,
                        "length": 112.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1100.99",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "original_lld": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 102,
                    "line_id": 2,
                    "code": "Xiaomi redmi 3s",
                    "description": "Xiaomi redmi 3s slow smartphone",
                    "weight": {
                        "value": 11.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 12.34,
                        "height": 13.34,
                        "length": 11.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "54.49",
                        "currency": "AUD"
                    },
                    "picked_up": true,
                    "delivered": false,
                    "original_lld": {
                        "price": {
                            "value": "1531.95",
                            "currency": "AUD"
                        },
                        "weight": {
                            "unit": "kg",
                            "value": 1911.1
                        },
                        "dimensions": {
                            "unit": "cm",
                            "width": 22.34,
                            "height": 23.34,
                            "length": 21.34
                        },
                        "bulk_quantity_picked_up": null,
                        "bulk_quantity_delivered": null
                    },
                    "picked_up_reason": {
                        "codes": [
                            {
                                "code": 601,
                                "name": "Line Level Data Success #1",
                                "type": "success"
                            },
                            {
                                "code": 603,
                                "name": "Line Level Data Success #3",
                                "type": "success"
                            }
                        ],
                        "comment": null
                    },
                    "delivered_reason": {
                        "codes": [
                            {
                                "code": 403,
                                "name": "Line Level Data Fail #3",
                                "type": "fail"
                            }
                        ],
                        "comment": "Customer don't want to pay for delivery"
                    },
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 103,
                    "line_id": 3,
                    "code": "MacBook Pro 14 M2 Pro",
                    "description": "MacBook Pro 14 M2 Pro. No assistance needed",
                    "weight": {
                        "value": 2111.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 42.34,
                        "height": 13.34,
                        "length": 31.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "2131.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "original_lld": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                }
            ]
        },
        "capacity": null,
        "optimisation_id": null,
        "enable_rating_reminder": true,
        "custom_redirect_url": true,
        "concatenated_order": {
            "order_id": 183353502,
            "external_id": null
        },
        "orders": null,
        "is_concatenated_order": false
    },
    "updated_at": "2020-09-09T23:39:24.066275+10:00",
    "event_type": "updated",
    "token": "B47XQFT4NAYuMVw6OAnlAQ",
    "topic": "job.lld_changed"
}

Token in headers

{
    "Authorization": "Token MlfqEdN60b9fLOHEPdPGUQ",
}

Body

{
    "new_values": {
        "cargoes": {
            "skids": [],
            "line_level_data": [
                {
                    "id": 101,
                    "line_id": 1,
                    "code": "iPhone 13",
                    "description": "iPhone 13 256 GB silver gray, help with setup",
                    "weight": {
                        "value": 113.0,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 122.34,
                        "height": 132.34,
                        "length": 112.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1100.99",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 102,
                    "line_id": 2,
                    "code": "Xiaomi redmi 3s",
                    "description": "Xiaomi redmi 3s slow smartphone",
                    "weight": {
                        "value": 11.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 12.34,
                        "height": 13.34,
                        "length": 11.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "54.49",
                        "currency": "AUD"
                    },
                    "picked_up": true,
                    "delivered": false,
                    "picked_up_reason": {
                        "codes": [
                            {
                                "code": 601,
                                "name": "Line Level Data Success #1",
                                "type": "success"
                            },
                            {
                                "code": 603,
                                "name": "Line Level Data Success #3",
                                "type": "success"
                            }
                        ],
                        "comment": null
                    },
                    "delivered_reason": {
                        "codes": [
                            {
                                "code": 403,
                                "name": "Line Level Data Fail #3",
                                "type": "fail"
                            }
                        ],
                        "comment": "Customer don't want to pay for delivery"
                    },
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 103,
                    "line_id": 3,
                    "code": "MacBook Pro 14 M2 Pro",
                    "description": "MacBook Pro 14 M2 Pro. No assistance needed",
                    "weight": {
                        "value": 2111.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 42.34,
                        "height": 13.34,
                        "length": 31.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "2131.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                }
            ]
        }
    },
    "old_values": {
        "cargoes": {
            "skids": [],
            "line_level_data": [
                {
                    "id": 101,
                    "line_id": 1,
                    "code": "iPhone 13",
                    "description": "iPhone 13 256 GB silver gray, help with setup",
                    "weight": {
                        "value": 113.0,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 122.34,
                        "height": 132.34,
                        "length": 112.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1100.99",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 102,
                    "line_id": 2,
                    "code": "Xiaomi redmi 3s",
                    "description": "Xiaomi redmi 3s slow smartphone",
                    "weight": {
                        "value": 1911.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 22.34,
                        "height": 23.34,
                        "length": 21.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1531.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 103,
                    "line_id": 3,
                    "code": "MacBook Pro 14 M2 Pro",
                    "description": "MacBook Pro 14 M2 Pro. No assistance needed",
                    "weight": {
                        "value": 2111.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 42.34,
                        "height": 13.34,
                        "length": 31.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "2131.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                }
            ]
        }
    },
    "order_info": {
        "external_id": "external-job-000",
        "deliver_after": null,
        "deliver_before": "2021-02-01T03:31:53.758311+11:00",
        "delivery_interval": null,
        "manager": {
            "member_id": 40,
            "email": "[email protected]",
            "first_name": "Robert",
            "last_name": "Turner",
            "avatar": "/media/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8.png",
            "is_online": false,
            "work_status": "not_working",
            "phone": "+61370101435",
            "thumb_avatar_100x100": "/media/thumbnails/Member/021c77ef-8240-417a-b7a2-a3e1a967ced8_100x100.png",
            "can_make_payment": true,
            "merchant_position": "Admin Manager",
            "full_name": "Robert Turner",
            "role": "Admin Manager"
        },
        "customer": {
            "id": 97,
            "email": "[email protected]",
            "name": "Paul Tucker",
            "phone": "+61322188091"
        },
        "deliver_address": {
            "id": 543,
            "address": "42-2 Piera St, Brunswick East VIC 3057, Australia",
            "raw_address": "",
            "location": "-37.7740561,144.97212052",
            "description": ""
        },
        "deliver_address_2": "",
        "pickup_address": {
            "id": 77,
            "address": "1A Dalgety St, Brunswick West VIC 3055, Australia",
            "raw_address": "",
            "location": "-37.76337848,144.94200468",
            "description": ""
        },
        "pickup_address_2": "",
        "pickup": null,
        "pickup_after": null,
        "pickup_before": null,
        "confirmation_signature": null,
        "geofence_entered_at": null,
        "geofence_exited_at": null,
        "title": "Job: ID 193668573",
        "title_2": "",
        "title_3": "",
        "comment": "",
        "started_at": null,
        "picked_up_at": null,
        "pick_up_distance": null,
        "order_distance": null,
        "status": "in_progress",
        "order_id": 193668573,
        "starting_point": {
            "id": 1,
            "address": "261 Franklin St, Melbourne VIC 3000, Australia",
            "raw_address": "",
            "location": "-37.80969919,144.95676756",
            "description": ""
        },
        "confirmation_comment": null,
        "updated_at": "2020-09-09T23:39:23.507505+10:00",
        "created_at": "2020-09-09T23:39:23.507587+10:00",
        "rating": null,
        "customer_comment": null,
        "pending_comment": null,
        "customer_review_opt_in": false,
        "duration": null,
        "deadline_passed": false,
        "driver": 51851966,
        "merchant": 1,
        "description": "",
        "sub_branding": 1,
        "label": null,
        "labels": [],
        "error_code": null,
        "error_comment": null,
        "completion_code": null,
        "completion_codes": [],
        "completion_comment": null,
        "customer_tracking_url": "https://rtra.cc/pFIEJ",
        "is_confirmed_by_customer": false,
        "order_confirmation_photos": [],
        "order_confirmation_documents": [],
        "pre_inspection_comment": null,
        "pre_inspection_signature": null,
        "pre_inspection_photos": [],
        "driver_checklist": null,
        "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": [],
            "line_level_data": [
                {
                    "id": 101,
                    "line_id": 1,
                    "code": "iPhone 13",
                    "description": "iPhone 13 256 GB silver gray, help with setup",
                    "weight": {
                        "value": 113.0,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 122.34,
                        "height": 132.34,
                        "length": 112.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "1100.99",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "original_lld": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 102,
                    "line_id": 2,
                    "code": "Xiaomi redmi 3s",
                    "description": "Xiaomi redmi 3s slow smartphone",
                    "weight": {
                        "value": 11.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 12.34,
                        "height": 13.34,
                        "length": 11.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "54.49",
                        "currency": "AUD"
                    },
                    "picked_up": true,
                    "delivered": false,
                    "original_lld": {
                        "price": {
                            "value": "1531.95",
                            "currency": "AUD"
                        },
                        "weight": {
                            "unit": "kg",
                            "value": 1911.1
                        },
                        "dimensions": {
                            "unit": "cm",
                            "width": 22.34,
                            "height": 23.34,
                            "length": 21.34
                        },
                        "bulk_quantity_picked_up": null,
                        "bulk_quantity_delivered": null
                    },
                    "picked_up_reason": {
                        "codes": [
                            {
                                "code": 601,
                                "name": "Line Level Data Success #1",
                                "type": "success"
                            },
                            {
                                "code": 603,
                                "name": "Line Level Data Success #3",
                                "type": "success"
                            }
                        ],
                        "comment": null
                    },
                    "delivered_reason": {
                        "codes": [
                            {
                                "code": 403,
                                "name": "Line Level Data Fail #3",
                                "type": "fail"
                            }
                        ],
                        "comment": "Customer don't want to pay for delivery"
                    },
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                },
                {
                    "id": 103,
                    "line_id": 3,
                    "code": "MacBook Pro 14 M2 Pro",
                    "description": "MacBook Pro 14 M2 Pro. No assistance needed",
                    "weight": {
                        "value": 2111.1,
                        "unit": "kg"
                    },
                    "dimensions": {
                        "width": 42.34,
                        "height": 13.34,
                        "length": 31.34,
                        "unit": "cm"
                    },
                    "price": {
                        "value": "2131.95",
                        "currency": "AUD"
                    },
                    "picked_up": null,
                    "delivered": null,
                    "original_lld": null,
                    "picked_up_reason": null,
                    "delivered_reason": null,
                    "bulk_quantity_picked_up": null,
                    "bulk_quantity_delivered": null
                }
            ]
        },
        "capacity": null,
        "optimisation_id": null,
        "enable_rating_reminder": true,
        "custom_redirect_url": true,
        "concatenated_order": {
            "order_id": 183353502,
            "external_id": null
        },
        "orders": null,
        "is_concatenated_order": false
    },
    "updated_at": "2020-09-09T23:39:24.066275+10:00",
    "event_type": "updated",
    "topic": "job.lld_changed"
}