For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/en/guides/account-and-service-management/managing-billing-payments-and-services/renewing-service-via-api.md.
A RenewDescription list will appear with two keys:
renewPeriod: a renewal period (in ISO 8601 format)
strategies: a list of RenewStrategy (renewal strategies)
A RenewStrategy contains a price and a list of services to be renewed. Renewing a domain name is one strategy; renewing a domain name and its hosting plan is another. The strategies therefore list all potential combinations for a given service: associated services, options, etc.
Below is an example in Python for retrieving renewal information:
import ovhclient = ovh.Client()client.get('/service/12345/renew',includeOptions=False, // Include service's option(s) (type: boolean))
Here is an example of a result that we can analyse, with the example being taken over a given period of time: