Reports api and Order problems

There is an endpoint

/:reports

This doesn't appear to do anything via the developer console. How do we access reports via the api? I cant find any documentation that explains reports api .

Also how can we search for orders relating to a single product i.e.

await swell.get('/orders', {
  product_id: "62b1a5360db2ac70b6b1669a"
});

The above code returns an empty array.

Sign In or Register to comment.