Skip to main content
GET
/
batches
/
{id}
Get batch by Id
curl --request GET \
  --url https://api.market.iventou.com.br/batches/{id}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "Resale book for Halloween VIP",
  "event_name": "Halloween",
  "ticket_name": "VIP",
  "ticket_type": "FULL",
  "quantity": 5000,
  "price": 15000,
  "start_date": "2023-11-07T05:31:56Z",
  "end_date": "2023-11-07T05:31:56Z",
  "is_sold_out": true,
  "purchase_approval_webhook": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "url": "<string>"
  }
}

Path Parameters

id
string
required

Response

200 - application/json

Batch retrieved successful

id
string<uuid>
required
name
string
required
Minimum length: 3
Example:

"Resale book for Halloween VIP"

event_name
string
required
Minimum length: 3
Example:

"Halloween"

ticket_name
string
required
Minimum length: 3
Example:

"VIP"

ticket_type
enum<string>
required
Available options:
FULL,
HALF,
COMPLIMENTARY
quantity
number
required
Required range: x >= 1
Example:

5000

price
number
required
Required range: x >= 1
Example:

15000

start_date
string<date-time>
required
end_date
string<date-time>
required
is_sold_out
boolean
required
Example:

true

purchase_approval_webhook
object
required