Search

verifyCustomerUser

Validate customer’s web shop user name and password.

This API call is for building a web shop that has a log-in (members-only) area. In Erply Customer module, you can assign a user name and password for each of your customers. (These user names / passwords DO NOT grant the customer any access into your ERPLY account, and cannot be used for that purpose. They can only be used in your web shop.)

Use API verifyCustomerUser to validate the user name and password and retrieve the customer record that these credentials belong to. Calling This API call will not create any “session” or make the customer somehow logged into API; it just serves a verification purpose.

Instead, if you want to learn how to generally authenticate yourself when connecting to Erply API — to be able to issue any API calls at all — see verifyUser.

Input parameters

Parameter nameDescriptionPossible valueRequired
usernameString yes
passwordString yes

Response

Field nameTypeDescription
clientIDIntegerID of the customer in customer registry
clientUsernameStringcustomer's username (the same that was used for logging in)
clientNameStringFull name of the customer
clientFirstNameStringCustomer's given name
clientLastNameStringCustomer's surname
clientGroupIDIntegerID of the customer group where the user belongs
clientGroupNameStringname of the customer group
companyIDIntegerID of company (if user is a contact person of a particular company)
companyNameString