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 name Description Possible value Required
pointOfSaleID The 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 name Type Description
id Integer ID of the default customer
name String Name of the customer
groupID Integer ID of the customer group where the customer belongs
groupName String Name of the customer group