Particle Core Create Claim Code For Product

Hi. I’m working a product. I create a product named smart-plug and add 2 device under this tab over dashboard. And i thing Two-Legged Authentication best option for me. I read documentation and create an OAuth Client like that;

curl -X POST -H "Authorization: Bearer 1234" -d name=abteknoloji -d type=installed \ -d organization=abteknoloji

And create a shadow customer account

curl -X POST -u "cliend-id:secret" -d \ -d no_password=true

Now! I must be create Claim Code for this customer with this customer’s access token. And then particle system will send that claim code to the device. But which device? How does Particle system know which device be claimed. I cant understand this point.