Get Customer List

Endpoints

Estonia:    https://aktiva.merit.ee/api/v1/getcustomers
Poland:     https://program.360ksiegowosc.pl/api/v1/getcustomers

Query payload

// exmaple when query by part of a name.
{ Name: "halduse" }

We’re aware of the problem of big responses. If you try to query full list of customers or vendors, it will respond with stacktrace that tells our server is unable to compile JSON that big. We’re working on it.

FieldTypeComment 
IdGuidIf filled, next fields will be ignored
RegNo StrExact match.
VatRegNoStrExact match.
NameStrBroad match.
WithCommentsBooltrue, false
CommentsFromDateDate later
ChangedDateDateDate of changing or creating customer/vendor (YYYYmmDD)

Successful response

The result for this request can be:

  1. empty result
  2. a certain customer (if exact match is used and/or only one customer is found)
  3. a list of customers matching the broad match term.

The result, if not empty, is a Customer object with following fields:

  • CustomerId
  • Name
  • RegNo
  • Contact
  • PhoneNo
  • Address
  • City
  • Email
  • CurrencyCode
  • CustomerGroupId
  • CustomerGroupName
  • PostalCode
  • CountryName
  • CountryCode
  • County
  • PhoneNo2
  • FaxNo
  • HomePage
  • PaymentDeadLine
  • OverdueCharge
  • CustomerGroupName
  • VatRegNo
  • NotTDCustomer
  • BankName
  • BankAccount
  • SalesInvLang
  • RefNoBase
  • Comments ( Array of comments)
  • Dimensions (Array of dimensions)
  • ChangedDate

Comments object:

  • CommDate
  • Comment

Dimensions object:

  • Id
  • DimId
  • DimValueId
  • DimCode