Subscription Contract Calculation Manual Discount Input
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.
Anchor to FieldsFields
- deliveryDiscount (SubscriptionContractCalculationDeliveryDiscountInput)
- orderDiscount (SubscriptionContractCalculationOrderDiscountInput)
- Anchor to deliveryDiscountdelivery•Subscription
Discount Contract Calculation Delivery Discount Input Input for a delivery discount that applies to the shipping line.
- Anchor to orderDiscountorder•Subscription
Discount Contract Calculation Order Discount Input Input for an order discount that applies to all lines on the contract.
Anchor to Input objects using this inputInput objects using this input
- Anchor to SubscriptionContractCalculationBillingCycleEditInput.manualDiscountsSubscription•INPUT OBJECT
Contract Calculation Billing Cycle Edit Input.manualDiscounts The input fields for editing a subscription contract for a single billing cycle, used for contract calculation. Any field provided will update or replace the corresponding value for the targeted cycle. Fields that are omitted will be left unchanged. Contract-level attributes such as billing policy, delivery policy, and payment method cannot be changed by a billing cycle edit.
- Anchor to SubscriptionContractCalculationContractCreateInput.manualDiscountsSubscription•INPUT OBJECT
Contract Calculation Contract Create Input.manualDiscounts The input fields for calculating a new subscription contract. Provide the complete desired state of the contract. The contract isn't created until you commit the calculation with the
mutation.Learn how to build a subscription contract.
- Anchor to SubscriptionContractCalculationContractUpdateInput.manualDiscountsSubscription•INPUT OBJECT
Contract Calculation Contract Update Input.manualDiscounts The input fields for calculating changes to an existing subscription contract. Each field you provide replaces the corresponding value on the contract, and omitted fields remain unchanged. For list fields, provide the complete replacement list, including the
idof each existing item that you want to keep.Learn how to update a subscription contract.