v1

latestOpenAPI 3.1.1Altegio API Agreement2026-08-062032133.5 KB
Marketplace

Set payment discount for locations

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.

post/marketplace/application/add_discount

Headers

Acceptstring required
Content-Typestring required
Authorizationstring required

Bearer {partner_token}

Request body

salon_idsinteger[] required

List of location IDs to apply discount

application_idinteger required

Application ID from marketplace

discountnumber float required

Discount amount (percentage or fixed amount depending on configuration)

Example request

{
  "salon_ids": [
    123,
    456
  ],
  "application_id": 123,
  "discount": 15.54
}

Response

Discount successfully applied

successboolean
dataobject

Example response

{
  "success": true
}