Take lots down

DELETE/v1/lots

Takes up to 100 of your lots off sale. Lots that sold or are already down are skipped: the answer names the ones it took down.

Request

Request body

  • idsstring[]required

    The lots: those asked about, or in an answer those it changed.

curl -X DELETE 'https://api.rockvel.store/v1/lots' \
  -H "Authorization: Bearer $ROCKVEL_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"ids":["019a4b9d-2e17-7a58-b1c6-0d3f6a9e4b12"]}'

Answer 200

  • idsstring[]

    The lots: those asked about, or in an answer those it changed.

{ "ids": ["019a4b9d-2e17-7a58-b1c6-0d3f6a9e4b12"] }

Refusals

StatusCodeWhen
422too_many_lotsMore than 100 items in one request.

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