Browse the API docs

Shop

The store the token belongs to: its name, domains, currency, time zone and tax settings. Any token can read it.

Endpoints#

Paths are relative to https://store.weftgrid.com/api/admin/2026-10. The examples read the token from $STORELOOM_TOKEN and ids from variables like $ORDER_ID.

The shop object#

What the endpoints below return for one shop, and the payload of the shop/update, app/uninstalled webhooks.

shop
{
  "id": "…",
  "name": "Juniper & Co.",
  "domain": "shop.juniper.example",
  "storeloom_domain": "demo.storeloom.example",
  "currency": "USD",
  "timezone": "UTC",
  "taxes_included": false
}

Get the store#

GET/shop.jsonAny token

Name, domains, currency, time zone and tax settings. Any token can read it. id never changes: use it to tell stores apart. domain and storeloom_domain change when the merchant renames the store or connects a domain; an old address redirects to the new one, and shop/update tells you when it changes.

Request
curl "https://store.weftgrid.com/api/admin/2026-10/shop.json" \
  -H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"
Example responseShow
{ "shop": { "id": "…", "name": "Juniper & Co.", "domain": "shop.juniper.example", "storeloom_domain": "demo.storeloom.example", "currency": "USD", "timezone": "UTC", "taxes_included": false } }

Uninstall the app (the app itself)#

DELETE/api_permissions/current.jsonAny token

An App Store app removes itself from the store, exactly as when the merchant uninstalls it: its charges are cancelled, app/uninstalled goes to its own subscriptions first, then the install, its token, webhooks, storefront scripts and codes are removed (and shop/redact follows after 48 hours if the app has a privacy webhook URL). The token stops working at once. A custom app can't: it's deleted in the admin's Apps page (403).

Request
curl -X DELETE "https://store.weftgrid.com/api/admin/2026-10/api_permissions/current.json" \
  -H "X-Storeloom-Access-Token: $STORELOOM_TOKEN"
Example responseShow
{}