Shopify: list invoices
Automatically list invoices on admin.shopify.com. List a Shopify store's billing invoices — number, date, type, status, amount and invoiceUrl — for the store the signed-in account lands on. Metadata only: feed a row's invoiceUrl to admin.shopify.com/download_invoice to fetch that invoice's PDF. A store that has never been invoiced returns an empty list. Deactivated stores still return their full invoice list, even when their PDFs are unavailable.
Input
None
Output
store requiredinvoices requiredFAQ
Shopify store admin login (Google SSO)
Log into a Shopify store admin via Google SSO — clicks 'Continue with Google' on accounts.shopify.com, picks the account, skips the passkey-enrollment prompt if shown, then opens admin.shopify.com/store/<store>. Pass the store handle.
List Shopify store products
Lists products from the signed-in Shopify admin, optionally filtered by tag, status or a free-text search, with each product's title, status, vendor, type, inventory, prices and link. Returns one page of the admin's list at a time (50 products, as the admin shows them); pass nextCursor back as cursor for the next page, and nextCursor is null on the last page. An empty list means no product matches. A signed-out browser fails with a sign-in error.
Download a Shopify invoice PDF
Download one Shopify store invoice PDF, given the invoiceUrl (or number) that admin.shopify.com/list_invoices returns. Exports the invoice as PDF from its billing page and saves the file under Shopify's own filename, returning where the browser saved it (or a link to it on a managed browser). Fails with a clear message when the invoice has no export or Shopify issues no PDF for it.
