Skip to content
Start here

Plans

List Available Plans
client.Zones.Plans.List(ctx, query) (*SinglePage[AvailableRatePlan], error)
GET/zones/{zone_id}/available_plans
Available Plan Details
client.Zones.Plans.Get(ctx, planIdentifier, query) (*AvailableRatePlan, error)
GET/zones/{zone_id}/available_plans/{plan_identifier}
ModelsExpand Collapse
type AvailableRatePlan struct{…}
ID stringoptional

Identifier

maxLength32
CanSubscribe booloptional

Indicates whether you can subscribe to this plan.

Currency stringoptional

The monetary unit in which pricing information is displayed.

ExternallyManaged booloptional

Indicates whether this plan is managed externally.

Frequency AvailableRatePlanFrequencyoptional

The frequency at which you will be billed for this plan.

One of the following:
const AvailableRatePlanFrequencyWeekly AvailableRatePlanFrequency = "weekly"
const AvailableRatePlanFrequencyMonthly AvailableRatePlanFrequency = "monthly"
const AvailableRatePlanFrequencyQuarterly AvailableRatePlanFrequency = "quarterly"
const AvailableRatePlanFrequencyYearly AvailableRatePlanFrequency = "yearly"
IsSubscribed booloptional

Indicates whether you are currently subscribed to this plan.

LegacyDiscount booloptional

Indicates whether this plan has a legacy discount applied.

LegacyID stringoptional

The legacy identifier for this rate plan, if any.

Name stringoptional

The plan name.

maxLength80
Price float64optional

The amount you will be billed for this plan.