Skip to content

Callbacks ​

Callbacks of our status to your API. The url can be modified in your account settings on https://app.profotonet.nl

Endpoint ​

KeyValue
URLYour URL given in the "insert order"-request or in your account
MethodPOST
RetriesOnce every 2 hours for 3 days

Response object ​

FieldTypeDescription
idObjectIDOur unique ObjectId
orderIdIntOur orderId
referenceIdStringYour unique id
statusStringStatus of the order
trackAndTraceCodeStringTrack and trace tracking id (barcode) (if present). If the code starts with 3SMILE or 3SPROF (PostNL letters and normal sized package), you can create the link yourself. For example: https://jouw.postnl.nl/?lang=nl#!/track-en-trace/3SMILE0000001/NL/1234AA. If the code start with 3SYSWD (PostNL extra@home for large packages) or GLS then the trackinglink will be send in the trackAndTraceLink.
trackAndTraceLinkStringTrack and trace https tracking link (if present).
json
{
  id: "507f1f77bcf86cd799439011",
  orderId: 1000023,
  referenceId: 10000000,
  status: "shipped",
  trackAndTraceCode: "3SYSWD0000001",
  trackAndTraceLink: "http://postnl.nl/tracktrace/?B=3SYSWD0000001&P=1234AA&D=NL&L=NL&T=C"
}