Skip to content

Update subscription

PUT/revenue/subscriptions/{id}

Updates a subscription's status, linked price book, seat count, or date range. Use to apply mid-term changes such as upsells, downgrades, or pauses.

Request

Path parameters

NameTypeRequiredDescription
idintegerYes

The numeric ID of the subscription to update.

Request body

Content type application/json (required).

FieldTypeRequiredDescription
namestringYes

Max length: 255

statusstringNo

One of: "trial", "active", "paused", "cancelled", "expired" · Default: "active"

contract_idintegerNo
price_book_idintegerNo
customer_idintegerNo
start_datestring (date)No
end_datestring (date), nullableNo
monthly_valuenumber (float)No
currencystringNo

Default: "USD" · Max length: 3

seatsintegerNo

Example

{
  "status": "paused",
  "seats": 35
}

Responses

200 Subscription updated

404 Subscription not found

Example request

curl -X PUT "https://{tenant}.faciotech.net/api/v1/revenue/subscriptions/{id}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"status": "paused", "seats": 35}'
Loading