Get your default discount

GET/v1/me/max-discount

How far below the price, in percent, the lots you list next take bargains. 0 takes none. Each lot keeps the discount it was listed with.

Request

This route takes no parameters.

curl 'https://api.rockvel.store/v1/me/max-discount' \
  -H "Authorization: Bearer $ROCKVEL_KEY"

Answer 200

  • max_discountinteger

    Percent below the price, from 0 to 50. 0 takes no bargains.

{ "max_discount": 10 }

Any route can also answer with the statuses on the Errors page.