Skip to main content
POST
/
queues
Create a queue
curl --request POST \
  --url https://api.market.iventou.com.br/queues \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Queue for book",
  "book_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Token from partner authetnication

Body

application/json
name
string
required
Minimum length: 3
Example:

"Queue for book"

book_id
string<uuid>
required

Response

201 - application/json

Queue created successfully

id
string<uuid>
required