JDBC Driver for Shopify

Build 25.0.9434

AppSubscriptions

Lists all subscriptions created for the shop's installed app, including status and billing cycles.

Table-Specific Information

Select

The driver uses the Shopify API to process WHERE clause conditions built with the following column and operators. The driver processes other filters client-side within the driver.

  • AppInstallationId supports the '=, IN' comparison operators.

For example, the following query is processed server-side:

  SELECT * FROM AppSubscriptions WHERE AppInstallationId = 'Val1'

Insert

The following columns can be used to create a new record:

Name, Test, ReturnUrl, TrialDays, LineItem (references AppSubscriptionLineItems)

AppSubscriptionLineItems Temporary Table Columns

Column NameTypeDescription
RecurringPricingPlanDiscountPriceAfterDiscountAmountDecimalThe price of the subscription after the discount is applied. Decimal money amount.
RecurringPricingPlanDiscountRemainingDurationInIntervalsIntThe remaining number of billing intervals to which the discount will be applied.
RecurringPricingPlanValuePercentageDoubleThe value of the discount applied every billing interval. The percentage value of a discount.
RecurringPricingPlanIntervalStringThe frequency at which the subscribing shop is billed for an app subscription.
RecurringPricingPlanPriceAmountDecimalThe amount to be charged to the subscribing shop every billing interval. Decimal money amount.
RecurringPricingPlanPriceCurrencyCodeStringThe currency to be charged to the subscribing shop every billing interval. Currency of the money.
UsagePricingPlanCappedAmountDecimalThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Decimal money amount.
UsagePricingPlanCappedAmountCurrencyCodeStringThe capped amount prevents the merchant from being charged for any usage over that amount during a billing period. This prevents billing from exceeding a maximum threshold over the duration of the billing period. For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. Currency of the money.
UsagePricingPlanTermsStringThe terms and conditions for app usage pricing. Must be present in order to create usage charges. The terms are presented to the merchant when they approve an app's usage charges.

Delete

You can delete entries by specifying the following column:

Id

Columns

Name Type ReadOnly References Description
Id [KEY] String True

The globally unique identifier of the app subscription.

AppInstallationId String True

The globally unique identifier of the app installation linked to this subscription.

Name String True

The display name of the app subscription.

Status String True

The current status of the app subscription, such as active, expired, or pending.

Test Bool True

Indicates whether the app subscription is a test transaction rather than a live subscription.

ReturnUrl String True

The URL where the merchant is redirected after approving the subscription.

TrialDays Int True

The number of trial days provided before billing begins, starting from the subscription's creation date.

CurrentPeriodEnd Datetime True

The date and time when the current billing period of the subscription ends. Returns null if the subscription is not active.

CreatedAt Datetime True

The date and time when the app subscription was created.

LineItemIds String True

The identifiers of the subscription plans attached to this app subscription.

LineItem String True

The details of the subscription plans attached to this app subscription.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434