Appearance
Callbacks
Callbacks of our status to your API. The url can be modified in your account settings on https://app.profotonet.nl
Endpoint
| Key | Value |
|---|---|
| URL | Your URL given in the "insert order"-request or in your account |
| Method | POST |
| Retries | Once every 2 hours for 3 days |
Response object
| Field | Type | Description |
|---|---|---|
| id | ObjectID | Our unique ObjectId |
| orderId | Int | Our orderId |
| referenceId | String | Your unique id |
| status | String | Status of the order |
| trackAndTraceCode | String | Track 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. |
| trackAndTraceLink | String | Track 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"
}