{
  "product": "UndoClerk",
  "what": "Undo for changes to a Shopify store: a checkpoint before a bulk edit, and undo of your own session, with a dry run first.",
  "auth": "Authorization: Bearer ucl_... (a key the store owner makes in UndoClerk, Undo or Large plan) and X-Shop-Domain: <shop>.myshopify.com",
  "actions": {
    "checkpoint": "{ \"action\": \"checkpoint\", \"label\": \"Summer prices\", \"appName\": \"your app\", \"scope\": [\"gid://shopify/Product/1\"] } opens a session; changes to the scope (or to anything, when no scope) in the session count as yours",
    "close": "{ \"action\": \"close\", \"sessionId\": \"...\" } ends the session",
    "changes": "{ \"action\": \"changes\", \"sessionId\": \"...\" } lists the session’s changes",
    "undo": "{ \"action\": \"undo\", \"sessionId\": \"...\", \"dryRun\": true } gives the plan; \"dryRun\": false carries it out"
  },
  "price": "Checkpoints and real undos count against the plan’s allowance (200 a month on Undo, 1,000 on Large); then $0.05 a call as a Shopify usage charge, at most $25 every 30 days.",
  "limits": [
    "Never orders, customers, payments or settings.",
    "A session lasts until closed, or 6 hours.",
    "Fields changed later by someone else are skipped unless overwriteLater is true."
  ],
  "docs": "https://undoclerk.tenhatch.com"
}
