admin

Set Tenant Plan

Grant or revoke a tenant's entitlement without going through Stripe.

Refuses outright when Stripe owns the row. That is the one case where overriding here would put the product and the payment processor into disagreement about what a customer bought — change it in Stripe and let the webhook land. Everything written here is billing_source='manual' with NULL Stripe ids, which the database enforces and the webhook receiver knows how to conflict on.

post/api/admin/tenants/{tenant_id}/plan

Request

  • Base URL: https://api.advisorppc.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.advisorppc.com/api/admin/tenants/{tenant_id}/plan
  • Auth: HTTP bearer

Path parameters

tenant_idinteger required

Headers

X-Tenant-Idinteger nullable

Request body

tier'free' | 'pro' | 'google' | 'gm' | 'gmt' | 'max' | 'agency' | 'team' | 'enterprise' required
status'active' | 'inactive' | 'canceled'
reasonstring required

Response

Successful Response

tenantIdstring required
namestring required
tierstring required
statusstring required
billingSourcestring required
membersinteger required
updatedAtstring nullable
editableboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.