Search

getCustomerGroups

Get customer groups. In ERPLY, customer groups are hierarchical; a group can contain sub-groups.

Input parameters

Parameter nameDescriptionPossible valueRequired
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)
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

Response

Field nameTypeDescription
customerGroupIDInteger
parentIDIntegerparent element ID.
nameString
pricelistIDIntegerCustomer group price list 1.
pricelistID2IntegerCustomer group price list 2.
pricelistID3IntegerCustomer group price list 3.
pricelistID4IntegerCustomer group price list 4.
pricelistID5IntegerCustomer group price list 5.
addedUnix timestampCreation time.
lastModifiedUnix timestampLast modification time.