GET
/
accounting
/
suppliers
curl --request GET \
  --url https://api.maesn.dev/accounting/suppliers \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "1",
      "contactType": "CONTACT_PERSON",
      "companyName": "Company name",
      "contactPersons": [
        {
          "salutation": "Mr",
          "firstName": "John",
          "lastName": "Doe",
          "emailAddresses": [
            {
              "email": "john.doe@company.com",
              "type": "BUSINESS"
            }
          ],
          "phoneNumbers": [
            {
              "number": "+49 7163307056",
              "type": "MOBILE"
            }
          ]
        }
      ],
      "addresses": [
        {
          "addressLine1": "Street",
          "addressLine2": "Building",
          "postalCode": "12345",
          "city": "City",
          "countryCode": "DE",
          "type": "BILLING"
        }
      ],
      "emailAddresses": [
        {
          "email": "john.doe@company.com",
          "type": "BUSINESS"
        }
      ],
      "phoneNumbers": [
        {
          "number": "+49 7163307056",
          "type": "MOBILE"
        }
      ],
      "projectId": "1",
      "updatedDate": "2018-01-01T13:00:00.000Z"
    }
  ]
}

Test Api token:

663222ee

Test Account token:

85b30b51

Field support per integration

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Query Parameters

page
number
limit
enum<number>
Available options:
5,
10,
20,
50,
100
lastModifiedAt
string
rawData
boolean
environmentName
string
companyId
string

Response

200 - application/json
data
object[]
meta
object