Anchor to SubscriptionContractCalculationDeliveryDiscountInputSubscription
input_objectSubscription Contract Calculation Delivery Discount Input
The input fields for delivery discount in the calculate API.
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 delivery 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.deliveryDiscountSubscription•INPUT OBJECT
Contract Calculation Manual Discount Input.deliveryDiscount 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?