Renewal
Extends the Datacenter Proxy service by 1-12 months at your current plan price.
https://api.proxynet.io/api/v1/orders/{id}/renewThe service is extended at your current plan price, with the order's add-ons. If the provider fails, the charge is refunded automatically.
Only services with renewable: true can be renewed: a fully expired service or one suspended by an administrator returns 409. If the price cannot be resolved, nothing is charged and 503 is returned.
Residential and Mobile are pay as you go, so they are not renewed; on these types the request returns 400 invalid_request.
Authorization
Sent as Bearer <token>. This endpoint needs the orders:write (Ordering) scope; a token without it gets 403.
Headers
A unique value for each renewal attempt. On a timeout, retry with the SAME value; you are not charged twice, and the completed renewal is returned. After a definite failure (4xx, or 502 with details.refunded: true) the key is released and the same value starts a new attempt.
Path parameters
The service ID. Take it from the id field of the GET /orders response.
Body
How many months to extend by (1-12).
Turns auto-renewal on or off together with the renewal.