Plans
Create Plan
post/api/v1/admin/plans
Request body
slugstring
URL-friendly identifier (lowercase alphanumeric and hyphens)
primaryLocale'zh' | 'en'
Primary locale (market selector: zh = domestic pricing page, en = international)
supportedLocalesstring[]
Supported locale codes
translationsobject required
Translations by locale key (e.g. { zh: {...}, en: {...} })
currencystring
priceCentsinteger required
billingCyclestring
featuresobject
purchaseFormFieldIdsinteger[] required
At least one form field must be selected
{"stackTrail":"paths:/api/v1/admin/plans:post:requestBody:content:application/json:schema:properties:certificateTemplateId","oasType":"schema","type":"unknown","description":"Optional certificate template override (must match plan's primaryLocale)"}
Response
Created
successboolean required