Push order statuses to a customer endpoint


Customers needs to create an endpoint with any Authentication method, on which Innoship will POST data for each order

Object will be the same as in Track service

Data sent will be an  arraylist json [ obiect1, obiect2 ] (see batch example below)


Example POST body

[
   {
      "returnAwb":null,
      "returnAwbHistory":[
         
      ],
      "orderId":15204350,
      "externalOrderId":"6073110132",
      "correlationId":"3b37e39889b8e843a628673c5409735a",
      "courier":3,
      "shipmentAwb":"2111200120172",
      "trackingNumber": "2111200120172001",
      "carrierMeasuredWeight":null,
      "recipientContactName":"ROYAL COMPUTERS SRL",
      "recipientLocality":"Clinceni",
      "recipientCountryCode":"RO",
      "trackUrl":"https://track.innoship.io/dfaCC1NVTEKEFNESd2BVUA",
      "currentStatus":"Delivered",
      "currentStatusId":100,
      "dispatchId":null,
      "history":[
         {
            "clientStatusId":1,
            "clientStatusDescription":"New",
            "eventDate":"2022-04-21T11:53:41.989179",
            "isFinalStatus":false
         },
         {
            "clientStatusId":2,
            "clientStatusDescription":"Picked-Up",
            "eventDate":"2022-04-21T11:55:00",
            "isFinalStatus":false
         },
         {
            "clientStatusId":20,
            "clientStatusDescription":"In Transit",
            "eventDate":"2022-04-21T13:23:00",
            "isFinalStatus":false
         },
         {
            "clientStatusId":30,
            "clientStatusDescription":"Out for Delivery",
            "eventDate":"2022-04-21T14:50:00",
            "isFinalStatus":false
         },
         {
            "clientStatusId":100,
            "clientStatusDescription":"Delivered",
            "eventDate":"2022-04-21T15:00:00",
            "isFinalStatus":true
         }
      ],
      "cashOnDeliveryHistory":[
         
      ]
   }
]