Skip to main content

activate

Activate draft subscription

add-addon

Add addon to subscription
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • checkout (object)
  • line_item_commitments (object)
  • metadata (object)
  • override_line_items (array)

addon-associations

Get active addon associations

cancel

Cancel subscription

change-execute

Execute subscription plan change
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • metadata (object)

change-preview

Preview subscription plan change
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • metadata (object)

create

Create subscription
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • addons (array)
  • checkout (object)
  • coupons (array)
  • credit_grants (array)
  • inheritance (object)
  • line_item_commitments (object)
  • line_item_coupons (object)
  • line_items (array)
  • metadata (object)
  • override_entitlements (array)
  • override_line_items (array)
  • phases (array)
  • subscription_coupons (array)
  • tax_rate_overrides (array)

entitlements

Get subscription entitlements

execute-subscription-plan-change-v2

Execute a plan change (v2, swap in place)
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • entity_policies (object)
  • metadata (object)

list

Query subscriptions
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • billing_cadence (array)
  • billing_period (array)
  • customer_ids (array)
  • filters (array)
  • invoicing_customer_ids (array)
  • parent_subscription_ids (array)
  • sort (array)
  • subscription_ids (array)
  • subscription_status (array)
  • subscription_type (array)

modify-execute

Execute subscription modification
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • checkout (object)
  • coupon_params (object)
  • grouped_invoicing_params (object)
  • inheritance_params (object)
  • quantity_change_params (object)
  • tax_params (object)
  • trial_end_params (object)

modify-preview

Preview subscription modification
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • checkout (object)
  • coupon_params (object)
  • grouped_invoicing_params (object)
  • inheritance_params (object)
  • quantity_change_params (object)
  • tax_params (object)
  • trial_end_params (object)

preview-subscription-plan-change-v2

Preview a plan change (v2, swap in place)
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • entity_policies (object)
  • metadata (object)

remove-addon

Remove addon from subscription

retrieve

Get subscription

retrieve-v2

Get subscription (V2)

upcoming-grants

Get upcoming credit grant applications

update

Update subscription

usage

Get usage by subscription