diff --git a/shipping/carrier_allocator.py b/shipping/carrier_allocator.py index a612677..fc851a4 100644 --- a/shipping/carrier_allocator.py +++ b/shipping/carrier_allocator.py @@ -415,6 +415,8 @@ def dispatch_auto_allocated_order(order_payload, selection_strategy='CHEAPEST', res['estimated_cost'] = selection.get('cost') res['selection_reason'] = selection.get('reason') res['awb_number'] = pkg_list[0]['waybill'] + res['waybill'] = pkg_list[0]['waybill'] + res['awb'] = pkg_list[0]['waybill'] return res, 200 # If Delhivery booking was rejected or failed, automatically failover to live Shadowfax