Callback order status

 Customers please provide the following infomation to GHN config:

      • Client_ID

      • Url webhook

      • Staging or Production

      • Name

 GHN' s side will send a request for order information, please return Response code=200:

    • Status : Create, Switch_status, Update_weight, Update_cod, Update_fee

    • In the case of Response code other than 200, the GHN side will fire back 10 times each time 5 seconds apart.

 Example request:

{
        "CODAmount": 200000,
        "CODTransferDate": null,
        "ClientOrderCode": "",
        "ConvertedWeight": 200,
        "Description": "Tạo đơn hàng",
        "Fee": {
        "Coupon": 0,
        "Insurance": 11000,
        "MainService": 29700,
        "R2S": 0,
        "Return": 0,
        "StationDO": 0,
        "StationPU": 0
        },
        "Height": 15,
        "Length": 15,
        "OrderCode": "5FALX6NA",
        "Reason": "",
        "ReasonCode": "",
        "ShipperName": "",
        "ShipperPhone": "",
        "Status":"ready_to_pick",
        "Time":"2020-06-08T02:19:54.908Z",
        "TotalFee":40700,
        "Type":"create",
        "Warehouse":"Kho giao nhận Tân Bình - Hồ Chí Minh",
        "Weight":200,
        "Width":15
}