Customers

Lookup customers

Full text search is a more advanced way to search customers

get/v1/customers/full-text-lookup

Request

Query parameters

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

lookupPhrasestring required

text to lookup, must be at least 3 characters in length, if quotes are applied a string match is returned

Response

OK

GLNstring

Global Location Number.

addedinteger
bankAccountNumberstring

Number of customer's bank account.

bankIbanstring

IBAN number of customer's bank account.

bankNamestring

Name of customer's bank.

bankSwiftCodestring

BIC/SWIFT identifier of customer's bank account.

birthDatestring

Person's birthday (yyyy-mm-dd)

businessAreaIdinteger

area of business.

businessNamestring

For businesses only.

businessTypeIdinteger

Customer type ID, for businesses only.

changedinteger
changedBystring
changedByEmployeeIdinteger
codestring

National ID

colorstring

Color that the customer entry is marked with. Possible values: "", "yellow", "red", "blue", "green".

countryIdinteger

Customer’s country.

creditLimitinteger

Customer’s credit limit: the maximum amount of money (in account default currency) that they are allowed to owe.

customerBalanceDisabledboolean

Flag indicating that Erply does not keep track of the customer's balance (amount prepaid or due)

customerGroupIdinteger
customerManagerIdinteger

Customer manager (must be an employee)

customerTypestring

COMPANY or PERSON. For businesses, the following ributes are set: fullName, businessName (both have the same value). For individuals, the following attributes are set: fullName, firstName, lastName. fullName is a combination of latter two: "lastName, firstName". fullName can be used for displaying customer's name wherever needed. Companies should have one name field and the attribute that is edited should be businessName. Persons should have separate fields for given name and surname (respective attributes: firstName, lastName).

defaultPaymentDeadLineinteger

Default payment deadline (in days).

deliveryTypeIdinteger

A field that propagates from customer records to sales documents and lets the company categorize shipments by delivery method or delivery time.

displayedNamestring

Name with customer type

doNotSellboolean

Whether the customer is marked with a do not sell flag or not.

eInvoiceEmailstring

In UI, the field is titled “E-invoice email address”.

eInvoiceReferencestring

Customer reference for e-invoices.

eInvoicesViaEmailEnabledboolean

whether the customer wants to receive invoices via electronic channels.

ediCodestring

E-invoice integration parameter.

ediTypestring

EDI type. Possible values: 2DOC, 4DOC, SPECIAL.

emailOptOutboolean

Flag indicating that this customer does not want to receive email correspondence.

employerIdinteger

Used to indicate that this individual is a contact person / an employee in a particular business.

facebookNamestring
factoringContractNumberstring

Factoring contract number.

faxstring
firstNamestring

First name / given name. For individuals only.

fullNamestring

Full name of the customer, use for displaying customer name.

genderstring

Gender. Erply API only accepts "male" "female" or an empty string.

homeStoreCustomIdinteger

Additional, custom home store ID

homeStoreIdinteger

Location where the customer shops most frequently. https://learn-api.erply.com/requests/getwarehouses

idinteger
integrationCodestring

Corresponding customer identifier in a system integrated with Erply (e.g. accounting software)

invoicesViaDocuraEnabledboolean

Whether the customer wants to receive invoices via Docura channels.

invoicesViaEmailEnabledboolean

whether the customer wants to receive invoices via email.

isStarredboolean

Mark if a customer should be starred

jobTitleIdinteger

Individual's job title Ids.

lastNamestring

Last name / family name. For individuals only.

loyaltyCardNumberstring

Assign the code of customer's loyalty/membership card. This code must match the sequence produced by card swipe.

mailstring
mobilestring
namestring

For businesses only.

notesstring
operatorIdstring

E-invoice integration parameter.

paperMailsEnabledboolean

whether the customer wants the e-invoice operator to deliver paper mails (if such option is supported).

partialTaxExemptionboolean
payerIdinteger

“Payer of invoices” (another customer).

paysViaFactoringboolean

Flag indicating that this customer pays via factoring (all invoices must be addressed to a designated third party)

penaltyForOverduenumber

Late fee / penalty for overdue invoices. The semantic meaning of this value is not strictly defined; usually we expect it to be “% per day”

peppolIdstring

Peppol ID

phonestring
posCouponsDisabledboolean

Flag indicating that coupons must not be automatically printed to this customer.

priceListIdinteger

Assign the customer a price list

priceListId2integer
priceListId3integer
priceListId4integer
priceListId5integer
primaryStoreIdinteger

ID of the primary store

referenceNumberstring

Customer’s reference number for sales invoices. Assign a reference number - if system is configured to use hand-created customer reference numbers. By default,not necessary, since reference numbers are created automatically.

rewardPointsDisabledboolean

Flag indicating that the customer will not earn points for purchases. (They can still spend existing points though.)

salesForCashOnlyboolean

Flag “Sales for cash only”. By default,false

secondaryStoreIdinteger

ID of the secondary store

shipGoodsWithWaybillsboolean

A flag indicating that this customer wants to get goods with Waybills, not Invoice-Waybills.

signUpStoreIdinteger

Location where the customer signed up. https://learn-api.erply.com/requests/getwarehouses

skypestring
taxExemptboolean

Flag indicating that this customer must not be charged sales tax.

taxOfficeIdinteger

Feature used by Greek customers: office where the customer / supplier reports to. (This value must be shown on some printouts.)

titleIdinteger

A title (Mr / Mrs / Miss) etc.

twitterIdstring
typestring

Customer type. Possible values are "DOMESTIC", "EU", "OUTSIDE_EU", "EU_WITH_VAT

vatNumberstring

Customer's VAT number.

webShopUsernamestring

This is for web shop integrations: to store customers' web-shop login credentials in Erply.

websitestring

Example response

[
  {
    "GLN": "901234500004",
    "gender": "male"
  }
]

Changes

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