I have 4 device for one Merchant ID,
Can I filter customers with deviceId?
I have 4 device for one Merchant ID,
Can I filter customers with deviceId?
I am not sure what you are asking, do you mean can you filter merchants by deviceId? The answer is no, our APIs are largely tied to a merchant. If you want to obtain all of the devices for a particular merchant you would need to make 4 API calls to https://docs.clover.com/reference#devicegetmerchantdevices.
I am sorry, I don't understand your question. If by "customer" you mean a patron of one of your merchants then customers are not directly tied to a device, they belong to the merchant. If you want to obtain all of the customers for a merchant you would use the customers API - https://docs.clover.com/reference#handlersgetcustomers-1.. If you want to see all customers associated to orders taken on a specific device you can use the orders API (https://docs.clover.com/reference#ordergetorders-2), filter on device.id and expand on customers. This will provide you with a list of customers that have orders on that device but a given customer may have orders on 1-n of your merchant's devices.
1 Person is following this question.