getCountries

This call is deprecated. We recommend to use PIM API instead.

The corresponding new call is: GET /v1/product/country.

Get the list of countries. Countries are a way of categorizing your customer and supplier databases.

Input parameters

Parameter name Description Possible value Required
changedSince Retrieve only items that have been added or modified since the specified timestamp. Use it to keep a local database in sync with Erply. Integer (Unix timestamp)
recordsOnPage Number of records API should return. By default 20, at most 100. integer
pageNo API returns at most recordsOnPage items at a time. To retrieve the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". integer

Response

Field name Type Description
countryID integer
countryName string
countryCode string
memberOfEuropeanUnion Integer (0 or 1) Indicates this country is a member of the European Union.
added integer Unix timestamp. Creation time.
lastModified integer Unix timestamp. Last modification time.