Skip to main content
POST
/
cabinet
/
admin
/
partners
/
applications
/
{application_id}
/
approve
Approve Application
curl --request POST \
  --url http://localhost:8080/cabinet/admin/partners/applications/{application_id}/approve \
  --header 'Content-Type: application/json' \
  --data '
{
  "commission_percent": 50,
  "comment": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Path Parameters

application_id
integer
required

Body

application/json

Request to approve a partner application.

commission_percent
integer
required
Required range: 1 <= x <= 100
comment
string | null
Maximum string length: 2000

Response

Successful Response