Archive order by Id

This method allows to archive order cre­at­ed.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/orders-api/v1/orders-created/{order-id}/archive
  • 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

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.

Requirements

To be archived, order must be in sta­tus “deliv­ery-con­firmed”.

Response

Response for prop­er­ly giv­en freight id is Http code 200 with no response con­tent.