This endpoint allows merchants to change the renewal (next billing) date of a customer's paid subscription. The customer must be an active member on a paid tier.
Note: the change is applied asynchronously. A successful response means the request was accepted — it may take a few moments before the new date is reflected on the subscription contract and the member record.
Security
api_key
- https://public.inveterateapi.comhttps://public.inveterateapi.com/v2.0/admin/members/{id}/change-renewal-date
curl -i -X POST \
'https://public.inveterateapi.com/v2.0/admin/members/{id}/change-renewal-date' \
-H 'Content-Type: application/json' \
-H 'X-Inveterate-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"nextBillingDate": "string"
}'Returned upon successful request made to our backend. Requests that return this code may take a small amount of time after successful API return to fully update.
The message associated with the response. Generally, the message only confirms the requested action. In the case of errors, the message will give insight into the source of the error.
Response
{ "message": "Request sent successfully", "data": { "id": 1, "name": "John Doe" } }