When you query the REST API like this:
https://apisandbox.dev.clover.com/v3/merchants/mId/orders/orderId
you get a result element that contains an object with a device id (no further name/value pairs). However if you then use this id to do
https://apisandbox.dev.clover.com/v3/merchants/mId/devices/deviceId
one gets the following for a deleted device:
{ "details":"No device with id abcded" "message":"Not Found" }
And also this query
https://apisandbox.dev.clover.com/v3/merchants/merchantId/devices
does not contain above received, deleted device.
Then I wonder what sense makes the deleted_time filter in this query?
https://apisandbox.dev.clover.com/v3/merchants/mId/devices?filter=deleted_time<1579595813000
It returns zero elements. Also without the deleted_time filter I don't the get the deleted device. I tested by disassociating a device and the result is exactly as described above. The device disappears from the API, the only thing that remains is the device_id in the response to the order request. So is there any way to retrieve deleted devices? Is the deleted_time filter not working?