# Marketplace

Marketplace application management, billing, and installation.
Installing an application on a location is a **two-step handshake**: the owner connects the app (`grant_access` → status `pending`), then the partner confirms with the installation callback (→ status `active`). See the [Install & test your app before moderation](/en/developers/marketplace-quickstart) guide.
**Host note:** partner callbacks (`/marketplace/partner/*`) are served from the `https://app.alteg.io` root, **not** under `https://api.alteg.io/api/v1`. Each such operation documents its own server.

 - [POST /company/{company_id}/marketplace/applications/{application_id}/grant_access](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_location_grant_access.md): **Step 1 of the two-step installation handshake** — the location owner grants the application access to their location. Call this on behalf of the location owner (combined partner + user token). On su
 - [GET /company/{company_id}/marketplace/applications/{application_id}/permissions](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_location_application_permissions.md): Returns the permission groups declared by the application. These are the rights requested for its system user when installed on a Location. The result does not report the system user's current effecti
 - [GET /marketplace/application/{application_id}/salons](https://developer.alteg.io/en/developers/openapi/marketplace/list_marketplace_app_locations.md): This endpoint retrieves a list of locations that have connected a specific application, along with detailed information about each.
 - [GET /marketplace/application/{application_id}/tariffs](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_partner_applications_tariffs_list.md): Retrieves list of tariffs for the application. **Note:** For marketplace partners only.
 - [POST /marketplace/application/add_discount](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_partner_application_add_discount.md): Sets a payment discount for specific locations when they pay through Altegio platform. **Note:** This endpoint is intended for marketplace partners only. Requires marketplace partner authorization.
 - [GET /marketplace/application/payment_link](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_partner_application_payment_link.md): Generates a payment link for application payment through Altegio platform. A link with a non-zero `discount` is valid for 7 days. After that, the payment page rejects it and a new link must be generat
 - [POST /marketplace/application/update_channel](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_partner_applications_update_channel.md): Updates available notification channels for the application. **Note:** Only for Chat Bots and SMS Aggregators category applications. For marketplace partners only.
 - [POST /marketplace/application/new_message](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_partner_application_new_chat_message.md): Marks the installed Chat frame as having unread messages. Altegio updates the timetable UI and may create a notification-center item according to the location's Chat settings. If lead saving is enable
 - [GET /marketplace/salon/{location_id}/application/{application_id}](https://developer.alteg.io/en/developers/openapi/marketplace/get_marketplace_integration_status.md): Retrieves the application's installation status in a specific location. Use it after the installation callback to confirm that the status is `active`. For the complete owner grant → partner confirmati
 - [POST /marketplace/salon/{location_id}/application/{application_id}/uninstall](https://developer.alteg.io/en/developers/openapi/marketplace/uninstall_marketplace_app.md): This endpoint is used by the partner service to uninstall the application from a specific location.
 - [POST /marketplace/partner/callback](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_notification_settings_callback.md): **Step 2 of the two-step installation handshake** — the partner confirms the installation and delivers integration settings. > **Host:** this partner callback is served from the `https://app.alteg.io`
 - [POST /marketplace/partner/callback/redirect](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_notification_settings_redirect_callback.md): After completing registration, the user must be redirected to this URL in the browser, along with any required data needed by the partner service.
 - [POST /marketplace/partner/payment](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_notification_payment_callback.md): A webhook notification must be sent to this address to inform Altegio of a successful payment made on the partner service’s side. Not available for applications whose payments go through Altegio: Alte
 - [POST /marketplace/partner/payment/refund/{payment_id}](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_payment_refund_callback.md): Chargeback Notice Not available for payments made through Altegio checkout or for applications whose payments go through Altegio: this endpoint returns 403.
 - [POST /marketplace/partner/short_names](https://developer.alteg.io/en/developers/openapi/marketplace/set_marketplace_notification_short_names.md): This endpoint is used to send the list of SMS sender names available to the user. The user will be able to choose from any of the provided sender names.
 - [POST /marketplace_webhook](https://developer.alteg.io/en/developers/openapi/marketplace/marketplace_webhook.md): This is an example receiver path on your application backend, not an Altegio API endpoint. Altegio POSTs to the application's configured `callback_url`. It is separate from location entity `webhook_ur
