Search

getDefaultCustomer

Get the ID of default customer used for POS transactions (typically, “POS Customer”, “Walk-in” or similar).

If such a customer is not defined, API returns no records.

Input parameters

Parameter nameDescriptionPossible valueRequired
pointOfSaleIDThe default customer can be different for each location and register. Specify pointOfSaleID to get the correct default customer for this specific register.Integer

Response

Field nameTypeDescription
idIntegerID of the default customer
nameStringName of the customer
groupIDIntegerID of the customer group where the customer belongs
groupNameStringName of the customer group