Subscription plan / CreateAsk AIpost https://{tenantUrl}/public-api/resources/subscription-plans/v2.0Create a new Subscription plansBody ParamsoperatorIdinteger | nullThe operator ID for this resource. Required for global admin tokens. Optional for operator-scoped tokens (defaults to token's operator).namearray of objectsrequiredLocales that have been created and are not provided on an update will be deleted. Please provide values in all locales that you wish to keep.name*ADD objectdescriptionarray of objectsrequiredLocales that have been created and are not provided on an update will be deleted. Please provide values in all locales that you wish to keep.description*ADD objectrenewalCyclestringenumrequiredmonthlyannuallyAllowed:monthlyannuallyfreeRenewalPeriodsinteger | nullThe number of renewal periods that are free of charge. This is only applicable for pre-paid plans.typestringenumrequiredpre-paidpost-paidAllowed:pre-paidpost-paidbaseFeefloat | nullFor pre-paid plans this is the price, for post-paid plans this is the base fee.baseFeeAppliesPerEachHomeChargerboolean | nullDefaults to falseMakes the base fee apply per each home charger owned by the subscriber.truefalsepostPaidChargingSessionsAccumulationstringenumDefaults to noneIndicates if charging sessions at personal, commercial+personal charge points are included in the post-paid subscription and would be billed at the end of the billing cycle or when a threshold is met, if there is such.nonepersonalpersonal_commercialAllowed:nonepersonalpersonal_commercialbillingUsageThresholdinteger | nullIf this threshold is reached, the amount due for the subscription would be billed immediately instead of waiting for the end of the billing period.billingTypestringenumApplicable only for post-paid subscription plans when external billing is enabled. Controls the billing method used for this subscription plan.defaultinternalexternalAllowed:defaultinternalexternalstatusstringenumrequiredenableddisabledAllowed:enableddisabledallowanceobjectallowance objectvisibilityRestrictionsobjectDefines which users can view and subscribe to the plan via the appvisibilityRestrictions objectResponses 201Success 401Access token is missing or invalid 403You do not have permission to perform the action 422The payload you provided is invalid 429Too many requests. Please try again later. For more information, please check the rate limit headers X-RateLimit-*Updated about 2 months ago