Allows to reject received freight offer.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/freights-api/v1/freights/offers/{offer-id}/reject
- Method: POST
Headers:
- Content-type: application/json
- Accept: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Authorization and access
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Usage
Request:
For rejecting freight offer it is required to send empty request using POST method.
https://api.platform.trans.eu/ext/freights-api/v1/freights/offers/{offer-id}/reject
Response:
{ "carrier": { "company_id": 1013865, "cooperation": { "is_suspended": false }, "legal_name": "Firma Testowa Przewoźnik IIT 2", "vat_id": "PL11111111111" }, "created_at": "2021-03-08T12:20:34+01:00", "id": 1735941, "price": { "currency": "eur", "value": 150 }, "requirements": null, "version": 4, "was_negotiated": true }