Plan Object


Properties
idstringRead-onlyformat GUID

Plan ID.


namestringminLength 1

Plan name.


descriptionstring

Plan description.


perksobject

What is included with this plan (e.g., 1 weekly entrance to a specific class).


pricingobject

Plan price, payment schedule, and expiration.


publicboolean

Whether the plan is public (visible to site visitors and members).


archivedbooleanRead-only

Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.


primarybooleanRead-only

Whether the plan is marked as primary.


hasOrdersbooleanRead-only

Whether the plan has any orders (including pending and unpaid orders).


createdDatestringRead-onlyformat date-time

Date plan was created.


updatedDatestringRead-onlyformat date-time

Date plan was last updated.


slugstringRead-onlyminLength 1

URL-friendly version of plan name. Unique across all plans in the same site.


maxPurchasesPerBuyerintegerminimum 0maximum 1format int32

Number of times the same buyer can purchase the plan. Currently limited to support:

  • Empty value or a value of 0, meaning no limitation.
  • Value of 1, meaning limited to one purchase per buyer.

allowFutureStartDateboolean

Whether the buyer can start the plan at a later date. Defaults to false.


buyerCanCancelboolean

Whether the buyer is allowed to cancel their plan. Defaults to false.


termsAndConditionsstringmaxLength 3000

Any terms and conditions that apply to the plan. This information will be displayed during checkout.


formIdstringformat GUID

ID of the form associated with the plan at checkout.

Learn more about forms.

Was this helpful?
Yes
No