# Prana Partner API API definition for Partners to interact with the Prana platform Version: 1.0 ## Servers ``` https://api.prana.software ``` ## Download OpenAPI description [Prana Partner API](https://partners.prana.software/_bundle/PranaAPI/openapiprana.yaml) ## State Retrieves available states in the app ### List app states - [POST /api/v1/partner/state/search](https://partners.prana.software/pranaapi/openapiprana/state/getall_1.md): Retrieves the list of available states in the app. ## Company Manage company of your subscriptions ### Terminate company subscription - [PUT /api/v1/partner/admin/company/{companyId}/terminate](https://partners.prana.software/pranaapi/openapiprana/company/terminatesubscription.md): Terminate company subscription ### Cancel company subscription - [PUT /api/v1/partner/admin/company/{companyId}/cancel](https://partners.prana.software/pranaapi/openapiprana/company/cancelsubscription.md): Cancel company subscription ## Subscription Manage your subscriptions ### Get Subscription - [GET /api/v1/partner/subscription/{id}](https://partners.prana.software/pranaapi/openapiprana/subscription/getbyid.md): Get a specific subscription. ### Update Subscription - [PUT /api/v1/partner/subscription/{id}](https://partners.prana.software/pranaapi/openapiprana/subscription/update.md): Update a specific subscription. ### Delete Subscription - [DELETE /api/v1/partner/subscription/{id}](https://partners.prana.software/pranaapi/openapiprana/subscription/delete.md): Delete a specific subscription. ### Activate/deactivate subscriptions - [PUT /api/v1/partner/subscription/activate](https://partners.prana.software/pranaapi/openapiprana/subscription/activate.md): Activate/deactivate a list of subscriptions. ### Create Subscription - [POST /api/v1/partner/subscription](https://partners.prana.software/pranaapi/openapiprana/subscription/create.md): Create a new subscription and send an invitation. ### List Subscriptions - [POST /api/v1/partner/subscription/search](https://partners.prana.software/pranaapi/openapiprana/subscription/getall.md): Retrieve all your subscriptions. ## Country Retrieves available countries in the app ### List app countries - [POST /api/v1/partner/country/search](https://partners.prana.software/pranaapi/openapiprana/country/getall_4.md): Retrieves the list of available countries in the app. ## Period Retrieves the available subscription periods in the app ### List subscription periods - [POST /api/v1/partner/period/search](https://partners.prana.software/pranaapi/openapiprana/period/getall_3.md): Retrieves the list of available subscription periods in the app. ## Plan Retrieves the available subscription plans in the app ### List subscription plans - [POST /api/v1/partner/plan/search](https://partners.prana.software/pranaapi/openapiprana/plan/getall_2.md): Retrieves the list of available subscription plans in the app.