GraphQL OBJECT

SubscriptionItem

Item of a subscription.

link Definition

  • type SubscriptionItem implements OrderItemInterface {
  • # Related subscription.
  • subscription: Subscription
  • # Indicates whether deactivation of the subscription item is allowed.
  • allowDeactivation: Boolean
  • # Indicates whether the subscription item is active and can be deactivated.
  • canDeactivate: Boolean
  • # Indicates whether the subscription item is inactive and can be reinstated.
  • canReinstate: Boolean
  • # Indicates whether the subscription item can be awaited reinstate.
  • canAwaitReinstate: Boolean
  • # Version of the item.
  • version: Int
  • # Date and time when the item version became active. Corresponds to the date and
  • # time when payment was received or, for purchase orders, when the purchase order
  • # was processed. null indicates that the item version is not active yet, for
  • # example because the customer upgraded the subscription item starting from the
  • # next renewal date.
  • versionActiveSince: DateTime
  • # Running number of the item in the subscription.
  • runningNumber: Int
  • # Number of items.
  • quantity: Int
  • # Product details for the item.
  • productInformation: ProductInformation
  • # Coupon code for a promotion applied to item(s) in the cart.
  • couponCode: String
  • # Promotion associated with the item.
  • promotion: Promotion
  • # Client policy and procedures for deactivation of subscriptions.
  • deactivationPolicy: ClientPolicy
  • # Pricing information that the customer receives during the purchase process.
  • customerPricing: Pricing @deprecated( reason: "Use nextRenewalCustomerPricing instead." )
  • # Pricing information that the customer receives during the purchase process.
  • nextRenewalCustomerPricing: Pricing
  • # Pricing information that the customer will be charged for the next billing.
  • nextBillingCustomerPricing: Pricing
  • # Pricing information that your company set up in the cleverbridge platform.
  • clientPricing: Pricing
  • # Number of the last successfully paid interval of the current subscription
  • # interval. Only relevant if subscription term differs billing term.
  • currentInterval: Int @deprecated( reason: "Use currentSubscriptionInterval instead." )
  • # Number of the last successfully paid interval of the current subscription
  • # interval. Only relevant if subscription term differs billing term.
  • currentSubscriptionInterval: Int
  • # List of billing events related to the subscription item, including signups,
  • # renewals, and upgrades.
  • #
  • # Arguments
  • # includeAllVersions: Ignore item version when filtering
  • # billings.
  • billings(includeAllVersions: Boolean): [SubscriptionItemBilling]
  • # Amount that will be charged on the next billing date.
  • nextBillingAmount: CurrencyAmount @deprecated( reason: "Use nextBillingPrice instead." )
  • # Price that will be charged on the next billing date.
  • nextBillingPrice: Price
  • # Status of the subscription item.
  • status: SubscriptionItemStatus
  • # Holds additional characteristics of the subscription item as a localized string.
  • productFeatures: String
  • # Time between initial payment and first subscription billing event.
  • initialInterval: SubscriptionInterval
  • # Time between billing events.
  • recurringInterval: SubscriptionInterval
  • }