Loadsmart Load Offers API
This API allows third parties to search and accept available Offers. ## Webhook events There are few webhook events that can be triggered related to Load Offers API. The following example refers to the webhook events `load_carrier_bounced` and `load_cancelled`: ``` { "event": "load_carrier_bounced", "data": { "load_id": "2ed37107-ebe7-4a60-a20f-01d4e74355c8", "load": { "id": "2ed37107-ebe7-4a60-a20f-01d4e74355c8", "active_offer": { "id": "ccd37107-ebe7-4a60-a20f-01d4e74355c8", "price": 1234.56 }, "carrier": { "id": "89ef54c7-52d5-44a0-b94d-df41eb1aab15", "mc": 123456, "dot": 987654 }, "commodity": "BOTTLED WATER", "distance": 353.6, "equipment_type": "DRV", "requirements": { "beer": false, "chemicals": null, "ctpat": null, "food_grade": null, "frozen": null, "hazmat": null, "hvhr": null, "pharmaceuticals": null, "produce": null, "teams": null, "tsa": null, "twic": null, "vented_vans": null, }, "stops": [ { "address": "109 Poland Spring Dr", "city": "Poland", "country": "USA", "latitude": 44.031602, "longitude": -70.355065, "state": "ME", "type": "PU", "window_end": "2019-11-28T08:00:00+00:00", "window_start": "2019-11-28T06:00:00+00:00", "window_timezone": "America/New_York", "requirements": null, "facility_info": { "avg_time_spent":{ "pickup":40, "delivery": null }, "detention_rate": 4 } }, { "address": "6 Westbelt", "city": "Wayne", "country": "USA", "latitude": 40.900033, "longitude": -74.264872, "state": "NJ", "type": "DEL", "window_end": "2019-11-29T19:00:00+00:00", "window_start": "2019-11-29T17:00:00+00:00", "window_timezone": "America/New_York", "requirements": null, "facility_info": { "avg_time_spent":{ "pickup":null, "delivery": 20 }, "detention_rate": 9 } }, ], "numberweight": 45000.0, "dimensions": {"width": 8.00, "height": 9.00, "length": 54.00} "ref_number": "41324" } } } ``` The following example refers to the webhook events `offer_created` and `offer_removed`: ``` { "event": "offer_created", "data": { "offer": { "id": "ccd37107-ebe7-4a60-a20f-01d4e74355c8", "price": 1234.56, "load": { "equipment_type": "DRV", "commodity": "apples", "weight": 20000, "dimensions": {"width": 8.00, "height": 9.00, "length": 54.00} "distance": 50000, "stops": [ { "type": "PU", "address": "101 Collins Avenue", "city": "Miami Beach", "state": "FL", "country": "USA", "requirements": { "blind_bol": false, "drop_trailer": false, "heavy_scale_ticket": false, "light_scale_ticket": false }, "facility_info": { "avg_time_spent":{ "pickup":40, "delivery": null }, "detention_rate": 4 } "zipcode": "33139", "window_start": "2020-02-13T09:00:00", "window_end": "2018-02-13T11:00:00", "window_timezone": "America/New_York" }, { "type": "DEL", "address": "2022 Collins Avenue", "city": "Miami Beach", "state": "FL", "country": "USA", "requirements": { "blind_bol": false, "drop_trailer": false, "heavy_scale_ticket": false, "light_scale_ticket": false }, "facility_info": { "avg_time_spent":{ "pickup":null, "delivery": 20 }, "detention_rate": 9 } "window_start": "2018-02-14T16:00:00", "window_end": "2018-02-14T18:00:00", "window_timezone": "America/New_York" } ], "requirements": { "beer": false, "chemicals": false, "ctpat": false, "food_grade": false, "frozen": false, "hazmat": false, "hvhr": false, "pharmaceuticals": false, "produce": false, "teams": false, "tsa": false, "twic": false, "vented_vans": false }, "ref_number": "425631" }, "actions": { "redirect_url": "https://loadsmart.com/loads/#/eec5677f-883c-4696-b13b-7539fa98e098", "accept_url": "https://api.loadsmart.com/api/v2/load-offers/offers/ccd37107-ebe7-4a60-a20f-01d4e74355c8/accept" } } } } ```