reports.json returns empty list

Hi,

I run the following link:

https://{shop name}.myshopify.com/admin/api/2022-07/reports.json, and get this:

{
“reports”:
}

We have plenty of custom reports in the system:

Scopes:

Any help would be very appreciated!

Thanks

Hi Hila1,

Thanks for your post. The Reports API will not return reports created in the web admin which looks like where the screenshot you provided is coming from. Here are some more specific details from the [Reports REST API documentation page]:

“Reports are scoped to the app that created them. When an app creates a report, other apps can’t view, modify, or delete that report. Also, apps can’t access reports that were created from the Shopify admin.”

Hope you have a great day,

Hi,

Thanks for the quick response!!

I was wondering if it’s possible to get the QL statement for a report without using an API, since it’s a one time thing that should be extracted.

Thanks,

Hila