put

PUT /v2/ecommerceSubscriptions/{id}/actions/setRenewalDate — Set next renewal date

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Sets the next renewal date for a subscription. Useful for prorating billing cycles or handling deferred renewals — for example, aligning the next charge after switching a subscription's plan or cadence via PUT /v2/ecommerceSubscriptions/{id}.

This changes only the timing of the next renewal, not the cadence itself. If the subscription has an endDate, that end date is shifted by the same amount as the change to the next payment date, so the remaining paid duration is preserved.

Request body

FieldTypeRequiredDescription
renewalDatestringYesNew renewal date in MM-DD-YYYY format (not ISO 8601). Must be a future date.
{
  "renewalDate": "09-15-2026"
}

Response 200

{
  "success": true,
  "message": "Renewal date updated successfully",
  "data": {
    "id": "esub::123",
    "nextBillingDate": "2026-09-15T00:00:00.000Z"
  }
}

Errors

StatusCodeDescription
422INVALID_FIELDrenewalDate is missing, not in MM-DD-YYYY format, or not a real date
422INVALID_FIELDrenewalDate is not in the future
404Subscription not found for this affiliate

Required role

Affiliate token required

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!