SubscriptionLineInput input object

Version unstable

Specifies the input fields required to add a new subscription line to a contract.

Input fields

  • currentPrice (Decimal!) Required

    The price of the product.

  • customAttributes ([AttributeInput!])

    The custom attributes for this subscription line.

  • Describes expected price changes of the subscription line over time.

  • productVariantId (ID!) Required

    The ID of the product variant the subscription line refers to.

  • quantity (Int!) Required

    The quantity of the product.

  • sellingPlanId (ID)

    The selling plan for the subscription line.

  • sellingPlanName (String)

    The selling plan name for the subscription line.

    Defaults to using the selling plan's current name when not specified.

Version 2021-10 (Release candidate)

Specifies the input fields required to add a new subscription line to a contract.

Input fields

  • currentPrice (Decimal!) Required

    The price of the product.

  • customAttributes ([AttributeInput!])

    The custom attributes for this subscription line.

  • Describes expected price changes of the subscription line over time.

  • productVariantId (ID!) Required

    The ID of the product variant the subscription line refers to.

  • quantity (Int!) Required

    The quantity of the product.

  • sellingPlanId (ID)

    The selling plan for the subscription line.