Subscriptions

Preview subscription modification

Changed on

Preview the impact of a mid-cycle subscription modification (inheritance, line item change, grouped invoicing, trial end, coupon, tax, a single addon add/remove, or a batch of addon adds and removes) without committing changes. Type "quantity_change" is deprecated: use "line_item_change".

post/subscriptions/{id}/modify/preview

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/subscriptions/{id}/modify/preview
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Subscription ID

Request body

type'inheritance' | 'quantity_change' | 'grouped_invoicing' | 'trial_end' | 'coupon' | 'tax' | 'addon' | 'line_item_change' required

Response

OK

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the new optional request property /

    • info

      added the new modify enum value to the request property /

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status