Deactivates selected freight publication, which was previously created by logged user or any other user’s company employee.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • Endpoint: /ext/freights-api/v1/freights/cancelPublication/{freight-id}
  • Method: POST

Headers:

  • Content-type: application/json
  • Accept: application/json
  • Authorization: Bearer {access_token}

Authorization

Authorization process is described here.

For accessing freights API no additional scopes are set, therefore the scope parameter can be left empty.

Requirements

To be deactivated, freight publication must be active and not accepted.

Response

Response for properly given freight id is Http code 200 with no response content.