How can I access the 'Export Earnings' report for an app using Partner API?

Topic summary

Main issue: A partner wants to programmatically reproduce the Shopify Partner “Export Earnings” report for an app via the Partner API.

  • Current capability: Most fields can be reconstructed using the AppSubscriptionSale resource (subscription revenue data).
  • Blocker: “Billing Period Start” and “Billing Period End” are not exposed in the Partner API and can’t be reliably derived from available data.

Requests/Questions:

  • Original poster asks if anyone has successfully recreated the full Earnings Report and how they obtained the billing period dates.
  • A follow-up participant asks whether a solution was found and requests the specific resource or method.

Status:

  • No solution, workaround, or official guidance is provided in the thread.
  • Discussion remains open with key unanswered question: how to obtain or calculate billing period start/end via the Partner API.
Summarized with AI on January 16. AI used: gpt-5.

Hello!

I am looking to access “Export Earnings” report for an APP via the Partner API. I am able to recreate most fields using AppSubscriptionSale, but am unable to get “Billing Period Start” and “Billing Period End”. These fields don’t seem to be available in the Partner API and I haven’t found a way to calculate them reliably.

Has anyone had success re-creating the Earnings Report via the API?

Hi, did you manage to get app earnings through Shopify partner API’s? If so can you provide me the resource? Will be appreciated.