Skip to main content
Anchor to SubscriptionContractCalculationOrderDiscountInput

SubscriptionContractCalculationOrderDiscountInput

input_object

The input fields for an order discount in the calculate API. Applies to all lines on the contract.

•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 order 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 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 discountCodes field.


Was this section helpful?