API

API endpoints > shipments > addstatusline > post

Add a statusline to a shipment.

A shipment can be defined by the client reference code, the internal shipment id or the tracking id. If all are defined, then the order of matching will be: shipment id, client reference code, tracking id. The first one found is considered the correct shipment.

JSON data structure

  • ClientReferenceCodeStringMinimum length: 1, maximum length: 100The shipment reference or id (usually the visible order id in the shop platform).
  • ShipmentIdInteger numberMinimum value: 1The correct shipment id, as listed by the shipment list for new shipments
  • StatusIdInteger numberMinimum value: 19, maximum value: 70A valid status id. Only 19, 30 and 70 is allowed at this time. If not defined (or any other value is defined), a correct status id for a comment is selected automatically for the shipment.
  • StatusInfoStringrequiredMinimum length: 1, maximum length: 100Status tekst to add.
  • TrackingIdStringMinimum length: 1The correct tracking id

JSON reply data

  • ErrorsublistAlways returnedAny error will be reported here, see the error list for error codes and their meaning.
    • IdInteger numberAlways returnedMaximum value: 999The id of the error
    • InfoStringTextual error

GET/shipments/newsince/:startNumber/:iso3339Date
POST/shipments/
POST/shipments/sendupdate/
POST/shipments/addstatusline/
PATCH/shipments/