Skip to main content
POST
Create a Price Adjustment

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Body

application/json

Create Price Adjustment Request

subscription
object
required
percentage
number
required

Percentage change applied to the subscription's prices. Negative values are a decrease. Must be non-zero and greater than -100.

effective_from
required

Date to resolve the adjustment date from. The adjustment fires on the first renewal date on or after this date. A calendar date in the operator's timezone. Use next_billing_period for the next renewal date.

schedule
boolean
default:false

When true, the price adjustment is scheduled (pending) immediately. When false, it lands as a draft.

applies_to
object

Which of the subscription's line item kinds the adjustment applies to. Each option defaults to false. At least one must be true to schedule the adjustment.

notification
object

How the customer is notified of the price adjustment before it is applied. When omitted, the operator's default notice period applies.

Response

price adjustment successfully created

Single Price Adjustment

price_adjustment
object

Price Adjustment

meta
object