API: ofertas
Gerencie ofertas recebidas em fretes.
GET
/api/public/v1/freights/{id}/offersAuth: API keyLista todas as ofertas recebidas para um frete.
POST
/api/public/v1/freights/{id}/offers/{offerId}/acceptAuth: API keyAceita uma oferta. O frete passa a status aceito e demais ofertas são automaticamente rejeitadas.
POST
/api/public/v1/freights/{id}/offers/{offerId}/rejectAuth: API keyjson
{
"reason": "Valor acima do limite"
}POST
/api/public/v1/freights/{id}/offers/{offerId}/counterAuth: API keyEnvia uma contra-oferta.
json
{
"price": 2800,
"valid_until": "2026-05-08T18:00:00Z",
"message": "Aceito por R$ 2.800"
}