- API Reference
- ProxyMarket API
- Orders
End an order from your side
Tell ProxyMarket that an order ended on your side, so its status changes to expired. You do not need this for normal ends: ProxyMarket expires orders by itself every 5 minutes and then calls your deprovision webhook.
POST
/integration/orders/{order_id}/expirePath parameters
order_idstringrequired
The order to end.
Example
a1b2c3d4-uuidRequest body application/json · required
reasonstringrequired
duration_ended: the rental time is over. revoked: you removed access by hand. modem_offline: the hardware failed for good.
One of
duration_ended, revoked, modem_offlineResponses
The order is expired.
order_idstringoptional
statusstringoptional
The X-API-Key header is missing or wrong. Check the key you saved when you created it.
No order of yours has this order_id.