Skip to main content
Anchor to SubscriptionContractCalculationLineDiscountInput

SubscriptionContractCalculationLineDiscountInput

input_object

The input fields for a line-scoped discount in the calculate API. Applies to the line it is provided on.

•ID

The ID of an existing discount to update. Omit for new discounts.

•Int!
non-null

The number of billing cycles this discount applies to. Use 0 for no limit.

•String!
non-null

The title of the line discount.

•SubscriptionContractCalculationDiscountValueInput!
required

The value of the discount (percentage or fixed amount).


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields for custom subscription lines in the calculate API.

•INPUT OBJECT

The input fields for product variant subscription lines in the calculate API.


Was this section helpful?