Skip to main content
Edit a subscription

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the subscription to change.

Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

Body

application/json
subscription
object
required

The properties to write onto the subscription. Only what is sent is touched, the rest is left as it stands, and what an organization administrator is not allowed to change is dropped from the request rather than refused.

resetUsage
boolean
default:false

Whether to wipe what has been used up so far and start the current period over from now, as though the subscription had just renewed. It is the way to hand an allowance back before its period is up. Honoured for a global administrator only and ignored for anyone else, because usage is what gets billed.

Example:

false

Response

Returns the subscription as it now stands, as far as the caller may see it.

administrativeHold
boolean | null

Whether the subscription was suspended or cancelled by an administrator of the workspace rather than by its billing. It is set when such an administrator sets state to suspended or cancelled and cleared when they set it back to active. While it is set, what the payment provider reports leaves the subscription's state alone. Only an administrator of the workspace is answered this field.

assignedToId
string | null

Identifier of the user or of the organization group the subscription is attached to; which of the two it is follows from assignedToType. A template, and a subscription that has not been assigned to anybody yet, carries neither.

assignedToType
string | null

Whether the subscription is attached to a single user (user) or to an organization group (group).

Example:

"group"

autoRenewal
boolean | null

Whether the subscription is meant to roll over into another period instead of simply ending. It records the commercial arrangement; where the subscription is linked to an outside billing system, the value held there is used. Only an organization administrator or an administrator of the workspace is answered this field.

billingAddress
object | null

Address the invoices for this subscription are made out to. Only an organization administrator or an administrator of the workspace is answered this field.

billingPeriod
string | null

How often the customer is invoiced, written the same way as subscriptionPeriod - a count followed by a unit. It is a commercial record only: the allowances are measured and cleared by subscriptionPeriod, not by this. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"1M"

billingTermEnd
string<date-time> | null

End of the billing term the customer is currently paying for. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"2027-01-01T00:00:00.000Z"

billingTermStart
string<date-time> | null

Start of the billing term the customer is currently paying for. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"2026-01-01T00:00:00.000Z"

cancelAtPeriodEnd
boolean | null

Whether the subscription is to be closed rather than carried on once the period now running ends. The periodic sweep then sets state to cancelled instead of clearing the usage and starting another period.

cancelDate
string<date-time> | null

When the subscription was cancelled. It is kept for the commercial record - what the platform acts on is state. Only an administrator of the workspace is answered this field.

Example:

"2026-03-14T09:12:44.318Z"

cancelReason
string | null

Why the subscription was cancelled, in free text. Only an administrator of the workspace is answered this field.

Example:

"Customer churned"

contacts
object[] | null

People to deal with about this subscription - the customer's administrative, billing, technical and support contacts. Only an organization administrator or an administrator of the workspace is answered this field.

contract
object | null

The contract behind the subscription: when it runs from and to, over what period and in what state. Only an administrator of the workspace is answered this field.

createDate
string<date-time> | null

When the subscription record was created. Only an administrator of the workspace is answered this field.

Example:

"2026-01-01T00:00:00.000Z"

createdBy
string | null

Name of the user who created the subscription; one raised by the platform itself, such as a personal copy made when a user joins an organization, carries system. Only an administrator of the workspace is answered this field.

Example:

"admin@circularo.com"

currencyCode
string | null

Currency every amount on this subscription is expressed in. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"EUR"

customer
object | null

The customer the subscription is billed to - legal name, address, tax details and how the account is rated. Only an administrator of the workspace is answered this field.

deliveryAddress
object | null

Address the paperwork is delivered to when it differs from the billing address. Only an organization administrator or an administrator of the workspace is answered this field.

directSales
boolean | null

Whether the subscription was sold directly rather than through a reseller or a distributor. Only an administrator of the workspace is answered this field.

distributor
object | null

The distributor the subscription was sold through. Only an administrator of the workspace is answered this field.

distributorTotal
number | null

What the distributor is charged for the subscription altogether, in currencyCode. Only an administrator of the workspace is answered this field.

Example:

1200.5

dueSince
string<date-time> | null

Since when the payment for this subscription has been overdue. Nothing in the platform is withheld because of it. Only an administrator of the workspace is answered this field.

Example:

"2026-02-01T00:00:00.000Z"

endDate
string<date-time> | null

End of the period the subscription is measured over. It is moved forward whenever the period rolls over, unless the subscription is linked to an outside billing system, in which case the dates are left as that system reports them.

Example:

"2027-01-01T00:00:00.000Z"

externalData
object | null

Particulars of the matching record in the outside billing system - who raised and last edited it there, under what owner and team name, and how many times it has been renewed. Only an organization administrator or an administrator of the workspace is answered this field.

firstStartDate
string<date-time> | null

When the subscription is to begin being measured for the very first time. Once that moment has passed, the subscription is started: its usage is cleared, the measured period is moved onto that date and isStarted is set. Only an administrator of the workspace is answered this field.

Example:

"2026-01-01T00:00:00.000Z"

hostingRegion
string | null

Region whose installation hosts the customer, such as eu, mena or ksa. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"eu"

id
string | null

Identifier of the subscription.

Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

ignoreLimits
boolean | null

Whether the allowances in limits are merely recorded and never enforced, so that nothing is refused however much of them has been used up.

invoicedAmount
number | null

How much has been invoiced on this subscription so far, in currencyCode. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

2400

invoiceStatus
string | null

How far the invoicing of this subscription has got, as the outside billing system reports it, such as invoiced, to invoice or no. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"invoiced"

isRenewing
boolean | null

Whether the subscription is currently going through renewal. It is a commercial record taken from the outside billing system; the platform does not act on it. Only an organization administrator or an administrator of the workspace is answered this field.

isStarted
boolean | null

Whether the subscription has already had its first start. It is set once firstStartDate has passed and the measured period has been moved onto it; while it is unset, that first start is still pending. Only an administrator of the workspace is answered this field.

isTemplate
boolean | null

Whether this record is a package for other subscriptions to be built from rather than a subscription in use. A template entitles nobody - the application cannot be used through it. Only an administrator of the workspace is answered this field.

isTrial
boolean | null

Whether the subscription is a trial. A trial organization whose subscription has been left suspended long enough is deleted with it, and paying through the payment provider turns the trial into a full subscription. Only an organization administrator or an administrator of the workspace is answered this field.

isUpselling
boolean | null

Whether a larger package is currently being sold to the customer. It is a commercial record taken from the outside billing system; the platform does not act on it. Only an organization administrator or an administrator of the workspace is answered this field.

lastResetDate
string<date-time> | null

Start of the period the usage now being counted belongs to. It is moved onto the former nextResetDate every time the period rolls over and the usage is cleared. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"2026-01-01T00:00:00.000Z"

limits
object | null

The allowances the subscription grants - users, transactions, templates, storage, SMS and the per-provider ones - against which the usage is measured and further actions refused. A user's personal copy inside an organization carries none of its own: the allowances that govern them sit on the organization's subscription.

metadata
string | null

Any further data kept with the subscription, as a JSON string. Nothing in the platform interprets it.

Example:

"{\"crmId\":\"A-1234\"}"

modifiedBy
string | null

Name of the user who last changed the subscription; a change made by the platform itself carries system. Only an administrator of the workspace is answered this field.

Example:

"admin@circularo.com"

modifyDate
string<date-time> | null

When the subscription was last changed, whether by hand or by the periodic sweep. Only an administrator of the workspace is answered this field.

Example:

"2026-03-14T09:12:44.318Z"

mrr
number | null

Monthly recurring revenue of the subscription, in currencyCode. Only an administrator of the workspace is answered this field.

Example:

199.9

name
string | null

Name the subscription is shown under to administrators. Only an administrator of the workspace is answered this field.

Example:

"Business subscription"

nextResetDate
string<date-time> | null

When the period now running ends: at that moment the usage is cleared and counted again from zero, and both reset dates move on by one period. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"2027-01-01T00:00:00.000Z"

onboardingDate
string<date-time> | null

When the customer was onboarded. It is kept for the commercial record only. Only an administrator of the workspace is answered this field.

Example:

"2025-12-15T00:00:00.000Z"

organization
string | null

Identifier of the organization group the subscription belongs to - the group it is assigned to, or for a user's personal copy the organization that user is in. It is what an organization administrator's reach over subscriptions is measured against. Only an administrator of the workspace is answered this field.

Example:

"9bd60cb0-2b72-474d-a334-9b446e110cad"

parentId
string | null

Identifier of the organization's subscription this record is a personal copy of. A user inside an organization has both: the organization's one carries the allowances, their own only their own usage.

pauseDate
string<date-time> | null

When the subscription was suspended. It is kept for the commercial record - the suspension itself is expressed by state. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"2026-04-01T00:00:00.000Z"

plan
string | null

Name of the plan from the plans catalogue the subscription is sold under. It labels the commercial package - the allowances themselves are in limits.

Example:

"business"

poNumber
string | null

The customer's purchase order number for this subscription. Only an administrator of the workspace is answered this field.

Example:

"PO-2026-00123"

pricelist
string | null

Name of the price list the amounts were taken from. Only an administrator of the workspace is answered this field.

Example:

"Public Pricelist (EUR)"

remainingBillingCycles
integer | null

How many billing cycles are still to be invoiced before the arrangement runs out. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

12

reseller
object | null

The reseller the subscription was sold through. Only an administrator of the workspace is answered this field.

resellerTotal
number | null

What the reseller is charged for the subscription altogether, in currencyCode. Only an administrator of the workspace is answered this field.

Example:

1800

resumeDate
string<date-time> | null

When the subscription was resumed after a suspension. Only an administrator of the workspace is answered this field.

Example:

"2026-05-01T00:00:00.000Z"

setupFee
number | null

One-off fee charged for setting the subscription up, in currencyCode. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

500

standardTerms
boolean | null

Whether the subscription was sold on the standard terms and conditions rather than on a negotiated contract. Only an organization administrator or an administrator of the workspace is answered this field.

startDate
string<date-time> | null

Beginning of the period the subscription is measured over. It is moved forward together with endDate whenever the period rolls over, unless the subscription is linked to an outside billing system, in which case the dates are left as that system reports them.

Example:

"2026-01-01T00:00:00.000Z"

startDateResetDone
boolean | null

Was this subscription restarted on first start date?

state
string | null

How much of the application the subscription opens: active grants it fully, suspended keeps it open but refuses everything the subscription meters, cancelled and scheduled close it.

Example:

"active"

stripeCustomerId
string | null

Identifier of the customer at the payment provider (Stripe) the charges for this subscription are made against. Only an administrator of the workspace is answered this field.

Example:

"cus_NffrFeUfNV2Hib"

stripePaymentActionNeeded
boolean | null

Whether the latest invoice at the payment provider is waiting for the customer to act on it, typically to confirm a card payment; stripePaymentActionUrl then leads to that invoice. Only an organization administrator or an administrator of the workspace is answered this field.

stripePaymentActionUrl
string | null

Address of the hosted invoice at the payment provider where the customer settles or confirms the payment. It is set alongside stripePaymentFailed or stripePaymentActionNeeded and dropped once the payment provider reports the subscription paid up - in good standing, with no change of it waiting for its payment and its latest invoice settled - or the subscription at the payment provider ends. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"https://invoice.stripe.com/i/acct_1M2JTkLkdIwHu7ix/test_YWNjdF8xTTJKVGtMa2RJd0h1N2l4"

stripePaymentFailed
boolean | null

Whether the latest payment attempt at the payment provider was declined. It is cleared once the payment provider reports the subscription paid up - in good standing, with no change of it waiting for its payment and its latest invoice settled - or the subscription at the payment provider ends. Only an organization administrator or an administrator of the workspace is answered this field.

stripeSubscriptionId
string | null

Identifier of the matching subscription at the payment provider (Stripe). It is dropped when that subscription is deleted there, which also leaves this one suspended. Only an administrator of the workspace is answered this field.

Example:

"sub_1MowQVLkdIwHu7ixeRlqHVzs"

subscriptionExternalId
string | null

Identifier of the matching subscription in the outside billing system (Odoo). While it is set, the commercial details are taken from there, and the dates of the measured period are left as that system reports them when the period rolls over. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"SUB-00042"

subscriptionItems
object[] | null

The items bought under this subscription - what was sold, in what quantity and at what price. Only an organization administrator or an administrator of the workspace is answered this field, and the pricing behind each item is narrowed down further still.

subscriptionPeriod
string | null

How long one measured period lasts, as a count followed by a unit - y, Q, M, w or d - so that 1M is a month and 3M a quarter. The end of the period and the moments at which the usage is cleared are worked out from it. Only an organization administrator or an administrator of the workspace is answered this field.

Example:

"1M"

templateId
string | null

Identifier of the subscription this one was built from - the template whose allowances, period, plan and flags were copied onto it. Only an administrator of the workspace is answered this field.

Example:

"business_default"

totalAmount
number | null

Price of the subscription altogether, tax included, in currencyCode. Only an administrator of the workspace is answered this field.

Example:

2400

totalDues
number | null

How much is still owed on this subscription, in currencyCode. Only an administrator of the workspace is answered this field.

Example:

0

trial
object | null

For a trial subscription, when the trial runs from and to and over what period. Only an organization administrator or an administrator of the workspace is answered this field.

untaxedAmount
number | null

Price of the subscription altogether before tax, in currencyCode. Only an administrator of the workspace is answered this field.

Example:

2000