MyMPS Webhook sender


MyMPS will send web hooks when order status changed to one of these statuses ("HUB" = Received, "DEP" = Departed "ARR" = Arrived, "OFD" = Out for Delivery, "DLV" = Delivered).

For example, when an order status is changed to “HUB” system will send the webhook on the specified URL to notify. Needs to be set up by Extend Commerce. API user is provided from Extend Commerce.


Post body

A valid Json string containing the details, eg

"OrderStatus":{

      "OrderId":"1020",

      "OrderNumber":"4157-0313",

      "PortCode5CL":"DKAAR",

      "PortCode3CL":"DKAAR",

      "LocationType":"Aarhus",

      "RefNNo":"4157-0313",

      "ChangeDate":"2018-06-29T16:26:19",

      "RequisitionNumber":"",

      "Status":"DLV",

      "CargoDetails":{

         "Packages":{

            "Quantity":"1",

            "Weight":"1,0000",

            "Length":"20,0000",

            "Width":"20,0000",

            "Height":"20,0000",

            "Stackable":"False",

            "DangerousGoods":"False",

            "DGNumberOfPackages":"1",

            "DGTypeOfPackages":"BOXES",

            "DGContentOfPackages":"",

            "DGCargoAircraftOnly":"False",

            "DGMarinePollutant":"False",

            "DGLimitedQuantity":"False",

            "DGUnNumber":"",

            "DGdgrClass":"",

            "DGPackageGroup":"",

            "DGWeightValue":"0,0000",

            "DGWeightUnit":"",

            "DGVolumeValue":"0,0000",

            "DGVolumeUnit":"",

            "DGShippingName":"",

            "DGTechnicalName":""

         }

      }

   }

 

Version

History

Version and date

Author

Comment

2020-01-28

Martin Fransson

Published version