---
title: "Set payment discount for locations"
method: POST
path: "/marketplace/application/add_discount"
tags: ["Marketplace"]
---

# Set payment discount for locations

`POST /marketplace/application/add_discount`

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.

## Headers

- `Accept` string, required
- `Content-Type` string, required
- `Authorization` string, required

## Request body

- object
  - `salon_ids` integer[], required — List of location IDs to apply discount
  - `application_id` integer, required — Application ID from marketplace
  - `discount` number, float, required — Discount amount (percentage or fixed amount depending on configuration)

## Response `200`

Discount successfully applied

- object
  - `success` boolean
  - `data` object
  - `meta` unknown[]
    - unknown

## Other responses

- `401` — Unauthorized - partner token not provided or invalid
- `403` — Forbidden - no access to application
- `404` — Application not installed in location

---

[API](https://skmtc.dev/alteg/apis/developer-tools.md) · [All operations](https://skmtc.dev/alteg/apis/developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alteg/developer-tools/revisions/c89b6494ffd2/schema)
