Responses

  • 200 application/json

    Suppliers

    Hide response attribute Show response attribute object
    • suppliers array[object]
      Hide suppliers attributes Show suppliers attributes object
      • number string

        Unique identifier for the supplier.

      • name string
      • organizationalNumber string
      • city string
      • street string
      • postIndex string
      • country string
      • phone string
      • email string
      • website string
      • bankGiro string
      • postGiro string
      • iban string
      • bicSwift string
  • 401

    Access token is missing or invalid

  • 500 application/json

    Internal error

    Hide response attributes Show response attributes object
    • traceId string

      Internal ID. Please provide this ID when contacting support

    • message string

      Message describing the error

GET /suppliers
curl \
 --request GET 'https://partner.trukks.se/supplierinvoices/suppliers' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "suppliers": [
    {
      "number": "string",
      "name": "string",
      "organizationalNumber": "string",
      "city": "string",
      "street": "string",
      "postIndex": "string",
      "country": "string",
      "phone": "string",
      "email": "string",
      "website": "string",
      "bankGiro": "string",
      "postGiro": "string",
      "iban": "string",
      "bicSwift": "string"
    }
  ]
}
Response examples (500)
{
  "traceId": "string",
  "message": "string"
}