Business Customer Types

Get business customer types

Retrieve customer types, only business customers can have these types attached.

get/v1/customers/types

Request

Query parameters

matchstring

match type of the filtering. Supported values: =, >=, <=, contains, startswith. Default is =

idsinteger[]

customer type Ids

changedinteger

Retrieve only items that have been added or modified at/after/before a specified timestamp. Use it to keep a local database in sync with Erply.

orderinteger

customer type's order

orderBystring

field to order by

orderByDirection'ASC' | 'DESC'

direction to order by

skipinteger

skip n records

takeinteger

items to take, default: 20, max: 100000

withTotalCountboolean

optionally return total number of records in the X-Total-Count response header

Response

OK

addedinteger

Unix timestamp

addedBystring

username

changedinteger

Unix timestamp

changedBystring

username

idinteger

object ID

orderinteger

Example response

[
  {
    "abbreviation": {
      "ar": " ",
      "cs": " ",
      "da": " ",
      "de": " ",
      "el": " ",
      "en": " ",
      "es": " ",
      "et": " ",
      "fi": " ",
      "fo": " ",
      "fr": " ",
      "he": " ",
      "it": " ",
      "lt": " ",
      "lv": " ",
      "nl": " ",
      "no": " ",
      "pl": " ",
      "ru": " ",
      "sv": " ",
      "th": " ",
      "tr": " ",
      "vi": " ",
      "zh_Hans": " ",
      "zh_Hant": " "
    },
    "added": 1595230999,
    "addedBy": "k@erp.xyz",
    "changed": 1595230999,
    "changedBy": "k@erp.xyz",
    "id": 1234,
    "name": {
      "ar": " ",
      "cs": " ",
      "da": " ",
      "de": " ",
      "el": " ",
      "en": " ",
      "es": " ",
      "et": " ",
      "fi": " ",
      "fo": " ",
      "fr": " ",
      "he": " ",
      "it": " ",
      "lt": " ",
      "lv": " ",
      "nl": " ",
      "no": " ",
      "pl": " ",
      "ru": " ",
      "sv": " ",
      "th": " ",
      "tr": " ",
      "vi": " ",
      "zh_Hans": " ",
      "zh_Hant": " "
    },
    "order": 15
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.