Anchor to SubscriptionContractCalculationLineDiscountInputSubscription
input_objectSubscription Contract Calculation Line Discount Input
The input fields for a line-scoped discount in the calculate API. Applies to the line it is provided on.
Anchor to FieldsFields
- id (ID)
- recurringCycleLimit (Int!)
- title (String!)
- value (SubscriptionContractCalculationDiscountValueInput!)
- •ID
The ID of an existing discount to update. Omit for new discounts.
- Anchor to recurringCycleLimitrecurring•Int!
Cycle Limit non-null The number of billing cycles this discount applies to. Use 0 for no limit.
- Anchor to titletitle•String!non-null
The title of the line discount.
- Anchor to valuevalue•Subscription
Contract Calculation Discount Value Input! 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
- Anchor to SubscriptionContractCalculationCustomLineInput.discountsSubscription•INPUT OBJECT
Contract Calculation Custom Line Input.discounts The input fields for custom subscription lines in the calculate API.
- Anchor to SubscriptionContractCalculationProductVariantLineInput.discountsSubscription•INPUT OBJECT
Contract Calculation Product Variant Line Input.discounts The input fields for product variant subscription lines in the calculate API.
Was this section helpful?