List plans

Get a list of plans associated with a specific product

With this query, you are able to get a list of plans associated with a product - using the product ID.

Returned variables

Variable nameDescription
planIdThe unique identifier of the plan in the Billsby platform
nameThe name of the plan
displayNameThe display name of the plan
descriptionThe description of the plan
pricingModelTypeThe type of plan; flat fee, volume, tiered, etc.; FlatFee = 1, PerUnit = 2, Reserved = 3, Tiered = 4, Volume = 5, Ranged = 6
productIDThe unique identifier of the product that the plan sits under
cycleIDThe unique identifier of the cycle in the Billsby platform
pricingModelIdThe unique identifier of the pricing model in the Billsby platform
frequencyThe frequency of the billing cycle
frequencyTypeThe frequency type; days, months, years, etc.; Daily = 1, Weekly = 2, Monthly = 3, Yearly = 4
freeTrialDoes the plan have a free trial
freeTrialFrequencyTypeThe length of the free trial; Daily = 1, Weekly = 2, Monthly = 3, Yearly = 4
setupFeePriceThe price of the set up fee for the plan
billingDateTypeThe type of billing date for the plan; on the anniversary of the customer signing up or on a fixed day. Anniversary = 1, FixedDayEachMonth = 2, FixedDayOfTheWeek = 3
fixedBillingDateDayThe fixed billing date if there is one
proRateOptionThe chose option for pro-rating; DoNotProRate = 1, DoNotChargeUntilNextCycle = 2, ProRateBasedOnDaysRemaining = 3
visibilityThe visibility of the plan; public or hidden
featureTagsAny feature tags associated with the plan
redirectUrlThe redirect URL that has been set up for this plan
hasActiveSubscriptionDoes the plan have any active subscribers; true or false
alertEmailThe alert email that has been set for this plan
Click Try It! to start a request and see the response here!