This method allows you to add new contractor using VAT number or TransId.

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.

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

Query parameters

  • URL: https://api.platform.trans.eu
  • Endpoint: /ext/partners-api/v1/partners
  • Http Method: POST

Headers

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

Example request

{
“office_id”: 1066163,
“vat_id”: “PL6038370126”
}

Example response

HTTP Code: 201

{}