subscriptions

Upgrade Subscription

Upgrade (or downgrade) the entity's subscription tier.

In production this would create a Stripe Subscription. For now it updates the entity's onboarding_data with the new tier.

post/api/v1/subscriptions/upgrade

Request

  • Base URL: https://agentavow.com (the document declares no server; this is the origin it was published from)
  • URL: https://agentavow.com/api/v1/subscriptions/upgrade
  • Auth: HTTP bearer

Headers

x-api-keystring nullable

Request body

target_tierstring required
billing_periodstring

Response

Successful Response

entity_idstring required
previous_tierstring required
new_tierstring required
billing_periodstring required
price_centsinteger required
effective_atstring required

Changes

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