Plans (partner-managed)

Partner-managed plan templates + assignment surface.

Partner-managed plan templates + assignment surface. Usage-Based partners own their plans here; Plan-Based partners get an admin-managed catalogue via the endpoints listed below.

Prerequisites

  • A bearer token in the Authorization header. Any endpoint that needs no token says so on its own page.
  • The id of each record the call targets. Every endpoint page lists the ids it needs.

Errors

StatusMeaning
401The bearer token is missing, expired or invalid
403The token is valid but the record sits outside your account
422The request failed validation — the response names the fields
500Unexpected server error

Individual endpoints may return more; each page lists its own.

Endpoints

MethodEndpointDescription
GETPlan-builder context (partner)Get the authenticated partner's billing model, contract model, billing config, per-feature rates, and review-site universe — everything the Plan Builder UI needs to render.
GETList partner plansList the plans available to the authenticated partner.
GETGet partner planGet a single plan for the authenticated partner (usage-based: for editing; plan-based: read-only).
POSTCreate plan (Usage-Based only)Create a new usage-based plan owned by the authenticated partner and links it via company_plans.
POSTUpdate plan (Usage-Based only)Update an existing partner-managed usage-based plan.
DELETEDelete plan (Usage-Based only)Soft-delete a partner-managed usage-based plan and removes its company_plans link to the partner (one DB transaction).
POSTAccount upgrade — change account planAssign the selected plan to one or more accounts and (re)applies it to every store under each account.
POSTCancel account subscription (all stores)Cancel every active store plan under the given account and notifies an admin via a brandPlanCancelled billing webhook.