Shopify Admin whoami (signed-in account)
Report which store this browser's Shopify admin opens: the store handle, the store's name and the store's contact email (not the signed-in user's own identity). When the browser is not signed in to the Shopify admin, the run fails with a signed-out error that says to sign in, so it can be used to check a session before running other Shopify admin scripts.
Input
None
Output
evidence requiredloggedIn requiredname optionalStore name.
email optionalStore contact email.
store optionalStore handle from admin.shopify.com/store/<handle>.
FAQ
Shopify: list invoices
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.
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.
