Archives selected freight, 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/{freight-id}/archive
- Method: POST
Headers:
- Content-type: application/json
- Accept: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Authorization
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.
Requirements
To be archived, freight publication must be in either cancelled or accepted.
Response
Response for properly given freight id is Http code 200 with no response content.