ZentiXUniversal Connector

Documentation

Base URL https://connector.zentixos.com · JSON over HTTPS · API version v1.

1 · Install and connect

  1. Install the app on your store from Shopify and approve its permissions. (To reconnect later, use Connect a store.)
  2. You land on the dashboard. The permissions Shopify granted are listed there; keys can never exceed them.
  3. 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 permissionMeaningShopify permission needed
store:readRead store information—
themes:readRead themes and theme filesread_themes
products:readRead productsread_products
products:writeUpdate productswrite_products
collections:readRead collectionsread_products
collections:writeCreate and update collectionswrite_products
content:readRead pages, blogs and articlesread_content
content:writeCreate and update pageswrite_content
navigation:readRead navigation menusread_online_store_navigation
files:readRead files and mediaread_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

OperationNeeds key permissionPlanArguments
store.get
Store information · read
store:readFree + Pro—
themes.list
List themes · read
themes:readFree + Pro—
theme.files.list
List the files of a theme (names and sizes) · read
themes:readFree + Protheme OnlineStoreTheme id
first 1–50
after cursor
theme.file.read
Read one text file of a theme · read
themes:readFree + Protheme OnlineStoreTheme id
filename e.g. sections/header.liquid
products.list
List products · read
products:readFree + Profirst 1–50
after cursor
query Shopify search text
collections.list
List collections · read
collections:readFree + Profirst 1–50
after cursor
query search text
pages.list
List pages · read
content:readFree + Profirst 1–50
after cursor
query search text
menus.list
List navigation menus · read
navigation:readFree + Profirst 1–50
files.list
List files and media · read
files:readFree + Profirst 1–50
after cursor
query search text
blogs.list
List blogs · read
content:readProfirst 1–50
articles.list
List blog articles · read
content:readProfirst 1–50
after cursor
query search text
product.update
Update a product (title, description, status, tags) · write
products:writeFree + Proid Product id
title text
descriptionHtml HTML
status ACTIVE|DRAFT|ARCHIVED
tags [text]
page.update
Update a page (title, body, published) · write
content:writeFree + Proid Page id
title text
body HTML
isPublished true|false
product.create
Create a product · write
products:writeProtitle text (required)
descriptionHtml HTML
status ACTIVE|DRAFT
vendor text
productType text
tags [text]
page.create
Create a page · write
content:writeProtitle text (required)
body HTML
isPublished true|false (default false)
collection.create
Create a manual collection · write
collections:writeProtitle text (required)
descriptionHtml HTML
collection.update
Update a collection (title, description) · write
collections:writeProid Collection id
title text
descriptionHtml 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.