I created a new product, and I used some compiled code that should be automatically generating webhooks for that product, via Particle’s REST API. I was surprised by an error: “Product not found for organization.”. It appears my new product is associated with a new organization id, which is surprising, I thought there should only be one.
Searching this forum, I found this post that suggests Organization Slugs & Ids are deprecated. Is that the case? If so, is there a reason products are still being assigned organization ids?
Incidentally, this is the URL my code is currently using to generate webhooks:
The latest documentation I found suggests it needs to be changed to this:
https://api.particle.io/v1/products/{productSlug}/integrations?access_token={ACCESS_TOKEN}"