Reject freight offer

Allows to reject received freight offer.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/freights-api/v1/freights/offers/{offer-id}/reject
  • Method: POST

Headers:

  • Con­tent-type: application/json
  • Accept: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_ap­p_api-key}

Authorization and access

Autho­riza­tion process is described here. Each API request must also con­sist of unique Api-key obtained dur­ing appli­ca­tion reg­is­tra­tion togeth­er with client_id and client_secret.

Usage

Request:

For reject­ing freight offer it is required to send emp­ty 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": "4a2dbtsd-bd6b-4c24-6t2c-256af1005591",
  "price": {
    "currency": "eur",
    "value": 150
  },
  "requirements": null,
  "version": 4,
  "was_negotiated": true
}