Search

getServices

Returns an array of services.

Input parameters

Parameter nameDescriptionPossible valueRequired
serviceIDInteger
searchNameSearches from service nameString
groupIDInteger
searchAttributeNameSearch from attribute name.searchAttributeName and searchAttributeValue have to be specified bothString
searchAttributeValueSearch from attribute valueString
langRetrieve item names in a specific language. If omitted, API will return item names in the default language of your ERPLY account.
Possible values:
  • 'eng' - English
  • 'spa' - Spanish
  • 'ger' - German
  • 'swe' - Swedish
  • 'fin' - Finnish
  • 'rus' - Russian
  • 'est' - Estonian
  • 'lat' - Latvian
  • 'lit' - Lithuanian
  • 'gre' - Greek
String
changedSinceRetrieve 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)
recordsOnPageNumber of records API should return. By default 20, at most 100.Integer
pageNoAPI returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1".Integer

Response

Field nameTypeDescription
serviceIDInteger
codeString
unitIDIntegerID of service unit. To get the list of units, use getProductUnits.
unitNameString
vatrateIDIntegerID of VAT (tax) rate. To get the list of rates, use getVatRates.
vatrateString
groupIDInteger
webshopTransportOption1 or 0Is this option meant to show on webshop as delivery option.
nameString
descriptionString
priceDecimal, 3 places
priceWithVatDecimal, 2 places
hasQuickSelectButton0 or 11 if this item has a quick-select button in POS
addedUnix timestampCreation time.
lastModifiedUnix timestampLast modification time.