Limited AvailabilityAccess to the Compliance API is currently limited to approved partners. Endpoints, request/response shapes, and field names may change before reaching general availability — use against staging for early integration work and coordinate with your CorpNet account manager before relying on Compliance API calls in production-critical paths. Report issues or feedback to your account manager.
POST /v1/partners/{partnerId}/subscriptions/{subscriptionId}/renew
Updates renewal-related fields on a subscription plan — start/end dates, renewal date, renewal type, and auto-renew flag. Use this to extend an active subscription, switch a manual subscription to auto-renewal, or correct renewal dates.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
partnerId | String | Yes | Your Account PID. |
subscriptionId | String | Yes | Subscription Plan identifier. |
Request Body
{
"id": "a0S5e000001ABCD",
"entityId": "a0A5e000002abcd",
"serviceState": "CA",
"startDate": "2026-01-01",
"endDate": "2026-12-31",
"renewalDate": "2026-12-01",
"renewalType": "Auto Renewal",
"serviceType": "AnnualReport",
"autoRenew": true
}Request Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | String | Yes | Subscription Plan identifier. Must match the subscriptionId in the URL path. |
entityId | String | No | Company identifier the subscription applies to. |
serviceState | String | No | Two-letter state code. |
startDate | String | No | New term start (YYYY-MM-DD). |
endDate | String | No | New term end (YYYY-MM-DD). |
renewalDate | String | No | Auto-renew date (YYYY-MM-DD). |
renewalType | String | No | Manual or Auto Renewal. |
serviceType | String | No | Service category — e.g., AnnualReport, RegisteredAgent. |
autoRenew | Boolean | No | Auto-renew flag. |
Example
curl -s -X POST \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id":"a0S5e000001ABCD","renewalType":"Auto Renewal","renewalDate":"2026-12-01"}' \
"https://api.corpnet.com/v1/partners/P123456/subscriptions/a0S5e000001ABCD/renew"Response — 200 OK
200 OK{ "data": true }A boolean true confirms the renewal update was applied. To verify the new state, re-fetch via Get a Subscription.
Error Responses
{ "statusCode": 400, "message": "No matching record found for Id: a0SXXXXXXXXXX", "data": false }
{ "statusCode": 403, "message": "You don't have access to this order information", "data": false }| Cause | Resolution |
|---|---|
| Subscription ID not found | Verify the identifier and that it belongs to your partner. |
| Row-level access denied | The subscription exists but is owned by a different partner. Contact your CorpNet account manager if you believe this is in error. |