Anchor to SubscriptionContractCalculationOrderDiscountInputSubscription
input_objectSubscription Contract Calculation Order Discount Input
The input fields for an order discount in the calculate API. Applies to all lines on the contract.
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 order 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 SubscriptionContractCalculationManualDiscountInput.orderDiscountSubscription•INPUT OBJECT
Contract Calculation Manual Discount Input.orderDiscount The input fields for a manual (merchant-specified) discount used for contract calculation. This is a oneOf input: one, and only one, field can be provided. Line-scoped discounts are provided on the line inputs instead. Discount codes are provided through the separate
field.
Was this section helpful?