Marketplace
Set payment discount for locations
Changed onSets 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
Request
- Base URLhttps://api.alteg.io/api/v1
- URLhttps://api.alteg.io/api/v1/marketplace/application/add_discount
- AuthHTTP bearer
Headers
Acceptstring required
Content-Typestring required
Authorizationstring required
Bearer {partner_token}
Request body
Example request
{
"salon_ids": [
123,
456
],
"application_id": 123,
"discount": 15.54
}Response
Discount successfully applied
Example response
{
"success": true
}Changes
- warning
the
request property's max was set to99.99 - warning
the
request property's min was set to0.00 - info
added the non-success response with the status
- warning