The REST Admin API is a legacy API as of October 1, 2024. All apps and integrations should be built with the GraphQL Admin API. For details and migration steps, visit our migration guide.
reports
access scope.
Note
The Reports Publishing API and the Reports resource are available to Shopify Advanced and Shopify Plus merchants only.
You can use the Report resource to publish reports to the Reports page in the Shopify admin. For example, a shirt fulfillment app could publish a report that compares the sales of shirts by marketing campaign. The reports are based on queries written in ShopifyQL.
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.
Setting reports publishing permissions
To give reports publishing permissions to your app, add the write_reports
permission to your
OAuth
requested scopes.
custom_app_reports
.