Hello,
I have been experimenting with particle products, and I have reached a roadblock. I am trying to create customers from my web app (node.js), but I can find no documentation on how to do so. After about 2 hours of trial and error, I managed to create a customer via cURL:
curl -X POST -u pickle-xxxx:xxxxxxxxxxxxxxd9wd9asydu8 -d email=bob@gmail.com -d no_password=true https://api.particle.io/v1/products/{product_slug}/customers
This works fine, it returns the access token and everything. However, when I go to my particle console, click on the product, and click on customers, there are no customers there. Furthermore, I do not know how to view the customers via the API.
Can someone help me figure out how to register a customer with the javascript API, and make sure the customer actually exists?