Change pool priority

If you have multiple pools and want performers to be offered one pool before another, change the pool priority. You don't need to stop the pool for that, it must have the “open” or “closed” status.

Priority is a number on a scale from 0 to 100. The larger the number, the faster the pool will be labeled compared to your other pools.

Note. If the pool is archived, an empty response with status 409 is returned.

Request

PATCH /api/v1/pools/<pool ID>
Host: https://sandbox.toloka.yandex.com
Authorization: OAuth <OAuth token>
Content-Type: application/JSON

{
  "priority": <from 0 to 100>
}            

Response

Contains updated information about the pool in JSON format (see the example in thePools section).