RMS Guide
  • Rezi RMS Introduction
  • Rezi RMS CONFIGURATIONS
    • RMS Branding
    • Login Customization
      • Custom Token Implementation
    • URL Customization
      • How to connect my custom Domain to Rezi RMS ?
      • How to customize transactional email sender?
    • Section Video Customization
    • Sample Library Customization
      • Adding Cover Letter Samples
      • Adding Resume Samples
      • Adding Sample Category
    • Various Options
      • Mobile banner "Switch to desktop"
    • Pricing & Promotion
      • Pricing option
      • Promotion
      • Upgrade User Plan from API
    • Resume review
    • WebHook
      • How to add a new WebHook ?
      • Event List
        • Resume Section Saved
  • Rezi RMS Admin
    • Account Role Types
  • Rezi RMS Integration
    • Integration
  • REZI API
    • Overview
    • Private token API
    • User
      • User object
      • GET /users
      • GET /user/:userID
      • GET /user/:userID/resumes
      • POST /user/token
    • Resume
      • Resume object
      • GET /resume/:resumeID
      • GET /resume/:resumeID/download
      • GET /resume/:resumeID/score
      • POST /user/:userID/resume
    • Plans
      • POST /user/:userID/upgrade
Powered by GitBook
On this page
  • Upgrade the subscription plan of your user
  • Upgrade plan of your user
  1. Rezi RMS CONFIGURATIONS
  2. Pricing & Promotion

Upgrade User Plan from API

Upgrade users from your backend, the simple way. You can upgrade them to Basic, Pro or lifetime and get billed monthly.

Upgrade the subscription plan of your user

This feature is only available after contacting your account manager

Call the Rezi API below with the information required.

Upgrade plan of your user

POST https://us-central1-rezi-3f268.cloudfunctions.net/openApi-upgradePlan

This endpoint allows you to upgrade an already created users. You will need to provide email of your user

Headers

Name
Type
Description

Content-type*

string

"application/json"

Authentication*

string

"Bearer PRIVATE_TOKEN_API_KEY" Authentication token to secure and track down your usage. Use this specific format with your Private API key

Request Body

Name
Type
Description

planId*

string

ID of target plan to upgrade. Those plan ID is provided by your account manager

email*

string

Email of the user your want to upgrade.

aiTokenId

String

ID of AI credits join to the upgrade. This ID is provided by your account manager

{
    "message": "success",
    "created": 1646034967,
    "current_period_start": 1646296033,
    "current_period_end": 1648974433,
    "status": "active",
    "plan_id": "planId_from_api"
}
{ error: 'stripe error' }
{ error: "wrong plan ID" }
{
    // Response
}
{ message: 'Token is not authorized.' }
{ message: 'Token type error' }

PreviousPromotionNextResume review

Last updated 2 years ago