Skip to main content
POST
/
offers
Create an offer
curl --request POST \
  --url https://api.market.iventou.com.br/offers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "book_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "price": 20000
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Token from partner authetnication

Body

application/json
owner_id
string<uuid>
required
book_id
string<uuid>
required
price
number
required
Required range: x >= 1
Example:

20000

Response

201 - application/json

Offer created successfully

id
string<uuid>
required