Set Sandbox Shipment Status
POST/sandbox/shipment/:trackingNumber/status
Sandbox API keys only. Sandbox shipments have no real courier tracking, so use this endpoint to move one to a new status, for example to test your webhook handling in automated tests. The same can be done by hand on developer.kvikk.hu, in the Sandbox csomagok menu.
The new status is added as the latest tracking event, and the shipment's tracking flags (shipped, delivered, returned) are updated the same way as for a live shipment. If the status has a webhook event (sent, ready_for_pickup, delivered, returned), your active webhooks subscribed to it are called right away, with "sandbox": true in the payload. Unlike live shipments, the webhook fires every time you set the status, not just the first time.
The response lists the result of each webhook call, so you can see straight away if your endpoint accepted it.
Calling this endpoint with a live API key returns 403 with the sandbox_key_required code.
Request
Responses
- 200
- 400
- 403
- 404
OK
Bad Request
Forbidden
Not Found