IQ Metrix Configuration setup:
After creating the location we want to map to an IQ Metrix location/store, we create a new POS Configuration
We need to make sure the POS configuration type is iqmetrix, we can set the external id to something we know is unique, usually iqmetrix-{location-friendly-name}
We then, add a new IQ Metrix configuration, where we need to fill the following:
Find missing config information
Location Entity Id:
If the client does not know this value, we can obtain this via IQMetrix API just replace the `companyID` to match the one provided in the config:
curl --location --request GET ' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' --header 'Accept: application/json' From the payload, we can use `Id` as the Location entity Id and `CorrelationId` as the Store Id.
Store ID
(if we want to be sure CorrelationId is the same)
If the client does not know this value, we can obtain this via IQMetrix API, just replace the `companyID` to match the one provided in the config, probably will need to change the dates to find the location name you need, but usually, a normal weekday will contain the store needed.
curl --location --request GET '' \ --header 'Authorization: Bearer {ACCESS_TOKEN}'
Find the record that matches the location name with the `StoreName` in the payload, and get the `StoreID` from it to use in the configuration.