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