PerfexCRM icon

PerfexCRM

Interact with PerfexCRM API

Actions181

Subscription → Update

AI-generated

Summary

Update a subscription in PerfexCRM by specifying its ID and one or more fields to change.

Inputs

  • Subscription ID (required) — The ID of the subscription to update.
  • Update Fields — Collection of subscription fields to update, including Customer ID, Currency, Date, Description, Ends At, In Test Environment, Name, Next Billing Cycle, Project ID, Quantity, Status, Stripe Plan ID, and Terms.

Output shape

a single subscription record reflecting the updated subscription data is returned.

The operation accepts a subscription ID and a collection of fields to update. Date fields are validated and formatted. If the update is successful, the updated subscription object is returned. Errors are thrown in case of failure.

Examples

Example 1: Update the currency and status of a subscription.

Set the Subscription ID to the target subscription's ID and provide values in Update Fields for currency and status.

Discussion