Documentation
Base URL https://connector.zentixos.com · JSON over HTTPS · API version v1.
1 · Install and connect
- Install the app on your store from Shopify and approve its permissions. (To reconnect later, use Connect a store.)
- You land on the dashboard. The permissions Shopify granted are listed there; keys can never exceed them.
- Create a key under API keys, or use the device flow below.
2 · Authentication
Send your key as a bearer token on every request. Keys look like zxc_<id>_<secret>, belong to one store and are shown once.
curl -s https://connector.zentixos.com/api/v1/store -H 'Authorization: Bearer zxc_…'
Use keys only from server-side code or tools you control. Never embed one in a web page or commit it to a repository. Browsers are not meant to call the API directly (no cross-origin access is offered).
3 · Device authorization (no copy-and-paste)
Local and remote software can ask for access and let the merchant approve it:
# 1. ask for a code
curl -s https://connector.zentixos.com/api/v1/device/code -H 'Content-Type: application/json' \
-d '{"client_name":"My tool","scopes":["store:read","products:read"]}'
# → { "device_code": "…", "user_code": "ABCD-EFGH", "verification_uri": "https://connector.zentixos.com/device", "interval": 5, "expires_in": 600 }
# 2. the merchant opens the verification_uri, enters the user_code and approves
# 3. poll every 5 s until the key is returned (once)
curl -s https://connector.zentixos.com/api/v1/device/token -H 'Content-Type: application/json' -d '{"device_code":"…"}'
# → { "api_key": "zxc_…", "token_type": "Bearer", "scopes": ["store:read","products:read"] }
While waiting the API answers authorization_pending (HTTP 400) — keep polling; slow_down means poll less often; access_denied and expired_token end the flow. Codes last 10 minutes.
4 · Permissions
A key holds a list of connector permissions. Each also requires the matching Shopify permission to be granted to the app on your store, and operations marked Pro need the Pro plan.
| Key permission | Meaning | Shopify permission needed |
|---|---|---|
store:read | Read store information | — |
themes:read | Read themes and theme files | read_themes |
products:read | Read products | read_products |
products:write | Update products | write_products |
collections:read | Read collections | read_products |
collections:write | Create and update collections | write_products |
content:read | Read pages, blogs and articles | read_content |
content:write | Create and update pages | write_content |
navigation:read | Read navigation menus | read_online_store_navigation |
files:read | Read files and media | read_files |
If a permission is not yet granted by Shopify, the dashboard shows it as unavailable and the API answers shopify_permission_not_granted.
5 · Making calls
GET /api/v1/store store, plan, limits, granted permissions
GET /api/v1/operations every operation and whether this key can use it now
POST /api/v1/operations/{id} run one operation body: {"args": { … }}
GET /api/v1/key this key's metadata
curl -s https://connector.zentixos.com/api/v1/operations/products.list -X POST \
-H 'Authorization: Bearer zxc_…' -H 'Content-Type: application/json' -d '{"args":{"first":5}}'
List operations accept first (1–50), after (cursor from pageInfo.endCursor) and, where shown, query. There is no raw GraphQL access, and no orders, customers or payments.
6 · Operations
| Operation | Needs key permission | Plan | Arguments |
|---|---|---|---|
store.getStore information · read | store:read | Free + Pro | — |
themes.listList themes · read | themes:read | Free + Pro | — |
theme.files.listList the files of a theme (names and sizes) · read | themes:read | Free + Pro | theme OnlineStoreTheme idfirst 1–50after cursor |
theme.file.readRead one text file of a theme · read | themes:read | Free + Pro | theme OnlineStoreTheme idfilename e.g. sections/header.liquid |
products.listList products · read | products:read | Free + Pro | first 1–50after cursorquery Shopify search text |
collections.listList collections · read | collections:read | Free + Pro | first 1–50after cursorquery search text |
pages.listList pages · read | content:read | Free + Pro | first 1–50after cursorquery search text |
menus.listList navigation menus · read | navigation:read | Free + Pro | first 1–50 |
files.listList files and media · read | files:read | Free + Pro | first 1–50after cursorquery search text |
blogs.listList blogs · read | content:read | Pro | first 1–50 |
articles.listList blog articles · read | content:read | Pro | first 1–50after cursorquery search text |
product.updateUpdate a product (title, description, status, tags) · write | products:write | Free + Pro | id Product idtitle textdescriptionHtml HTMLstatus ACTIVE|DRAFT|ARCHIVEDtags [text] |
page.updateUpdate a page (title, body, published) · write | content:write | Free + Pro | id Page idtitle textbody HTMLisPublished true|false |
product.createCreate a product · write | products:write | Pro | title text (required)descriptionHtml HTMLstatus ACTIVE|DRAFTvendor textproductType texttags [text] |
page.createCreate a page · write | content:write | Pro | title text (required)body HTMLisPublished true|false (default false) |
collection.createCreate a manual collection · write | collections:write | Pro | title text (required)descriptionHtml HTML |
collection.updateUpdate a collection (title, description) · write | collections:write | Pro | id Collection idtitle textdescriptionHtml HTML |
7 · Rate limits
Per key: Free 30/minute and 2,000/day; Pro 120/minute and 50,000/day. Responses carry X-RateLimit-Limit and X-RateLimit-Remaining; HTTP 429 includes Retry-After. Shopify applies its own limits to your store as well.
8 · Errors
Errors are {"error":{"code","message"}}. Common codes: unauthorized (401), ip_not_allowed / suspended / requires_pro / key_scope_missing / shopify_permission_not_granted (403), invalid_arguments (400), rejected_by_shopify (422, with details), rate_limited (429), reauth_required (409 — reconnect the store in the dashboard).
9 · Plans and billing
Free and Pro are Shopify subscriptions managed in Shopify. The Connector reads your active subscription from Shopify, so a plan change takes effect after Shopify confirms it (use Refresh from Shopify on the Plan page if you want it immediately). See Pricing.
10 · Revocation and disconnection
- Revoke a key — immediate, on every plan. Revoke all keys is one click.
- Rotate (Pro) — creates a replacement; the old key keeps working for 24 hours, then expires.
- Disconnect — revokes every key and deletes the stored Shopify access; the app stays installed until you uninstall it in Shopify.
- Uninstall in Shopify — keys are revoked and the stored access is deleted at once; remaining data is erased after Shopify’s 48-hour redaction request.
11 · Troubleshooting
- 401 unauthorized — the key is wrong, expired or revoked. Create a new one.
- 403 ip_not_allowed — the request came from an address not in the key’s allow-list.
- 403 shopify_permission_not_granted — the store has not granted that Shopify permission to the app.
- 409 reauth_required — open Settings → Reconnect in the dashboard.
- Device code “not valid” — codes expire after 10 minutes; request a new one.
- Still stuck? See Support.
