Skip to main content
Anchor to SubscriptionContractCalculationCustomLineInput

SubscriptionContractCalculationCustomLineInput

input_object

The input fields for custom subscription lines in the calculate API.

Anchor to appManagedPricingPolicyappManagedPricingPolicy
•SubscriptionContractCalculationAppManagedPricingPolicyInput

App-managed pricing policy metadata for this line.

•[AttributeInput!]!
requiredDefault:[]

Custom attributes for this subscription line.

•[SubscriptionContractCalculationLineDiscountInput!]!
required

The line-scoped manual discounts for this line. Each applies only to this line. You must state this list whenever you provide the line; pass an empty list to clear its discounts.

•ID

The ID of an existing line to update. Omit for new lines.

•ID

The ID of the selling plan this line was originally created with. It's used to find the associated delivery profile, and isn't applied as a selling plan during calculation.

•MoneyInput!
required

The price of the custom line item. The amount must be greater than or equal to 0.

•Int!
non-null

The quantity of the custom line item. Must be at least 1.

•Boolean!
non-null

Whether this custom line requires shipping.

•String

The selling plan name for this line, describing the order line items it creates. Defaults to the origin selling plan's current name when not specified.

•String

The SKU of the custom line item.

•Boolean!
non-null

Whether this custom line is taxable.

•String!
non-null

The title of the custom line item.

•String

The title of the variant.

•WeightInput

The weight of the custom line item.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields for subscription lines used for contract calculation. This is a oneOf input: one, and only one, field can be provided.


Was this section helpful?