Prerequisites
- Create an API key with widget:read (and optionally store:read) on Account → Developers.
- Copy your Shop ID from the same page.
- Install Scriptable on iPhone.
Environment variables in Scriptable
Edit the script and set:Example script
Download or copy from the repository:examples/scriptable/markt-widget.js.
The script calls:
GET /stores/{storeId}for the shop nameGET /stores/{storeId}/analyticsfor revenue, orders, and customer stats
Security
- Never embed dashboard session cookies in Scriptable.
- Use a restricted key with only the scopes you need.
- Revoke the key from Developers if it leaks.