Skip to main content

Prerequisites

  1. Create an API key with widget:read (and optionally store:read) on Account → Developers.
  2. Copy your Shop ID from the same page.
  3. 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 name
  • GET /stores/{storeId}/analytics for 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.