Skip to main content
POST
/
batches
/
{id}
/
buy
Buy offer from a batch
curl --request POST \
  --url https://api.market.iventou.com.br/batches/{id}/buy \
  --header 'Content-Type: application/json' \
  --data '
{
  "buyer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "ticket_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Path Parameters

id
string
required

Body

application/json
buyer_id
string<uuid>
required

Response

201 - application/json

Ticket purchased successfully

ticket_id
string<uuid>
required