stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > SubscriptionLineInput

AdminTypes.SubscriptionLineInput interface

The input fields required to add a new subscription line to a contract.

Signature:

export interface SubscriptionLineInput 

Properties

Property Modifiers Type Description
currentPrice   Scalars[‘Decimal’][‘input’] The price of the product.
customAttributes?   InputMaybe<Array<AttributeInput>> (Optional) The custom attributes for this subscription line.
pricingPolicy?   InputMaybe<SubscriptionPricingPolicyInput> (Optional) Describes expected price changes of the subscription line over time.
productVariantId   Scalars[‘ID’][‘input’] The ID of the product variant the subscription line refers to.
quantity   Scalars[‘Int’][‘input’] The quantity of the product.
sellingPlanId?   InputMaybe<Scalars[‘ID’][‘input’]> (Optional) The selling plan for the subscription line.
sellingPlanName?   InputMaybe<Scalars[‘String’][‘input’]> <p>(Optional) The selling plan name for the subscription line.</p><p>Defaults to using the selling plan’s current name when not specified.</p>