API ReferenceOffers
GET /offers/{id}
Detalhes de uma oferta
GET
/offers/{id}Auth: accessTokenRetorna OfferWithDetails — inclui latestProposal (id, proposerId, status), itens envolvidos, e dados do listing.
Request
Esta requisição não tem corpo.
Response
200
Sem corpo na resposta.
Erros
Sem respostas de erro documentadas.
Exemplos
curl -X GET 'http://localhost:3003/offers/{id}' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer SEU_ACCESS_TOKEN' \
-d '{}'await fetch('http://localhost:3003/offers/{id}', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer ' + accessToken,
},
body: JSON.stringify({}),
})