The Complete Guide to 2026 Shopify Custom Apps & Encrypted 2-Way Inventory Sync
Quick Answer (TL;DR): Starting January 2026, new Shopify store custom apps use the Dev Dashboard to issue a Client ID and Client Secret rather than a static admin token. Pairing those credentials with client-side AES-256-GCM encryption and Shopify’s Client Credentials Grant gives merchants fast, zero-plaintext 2-way sync in 2 minutes.
- Every Shopify merchant can create a private Custom App inside Settings → Apps → Develop apps at $0 extra cost.
- Grant only the 4 scopes needed for replenishment: read_products, read_inventory, write_inventory, and optional read_orders.
- RestockPO encrypts your credentials locally with PBKDF2-SHA256 + AES-256-GCM before saving—zero plaintext secrets.
- Legacy pre-2026 custom apps continue to work seamlessly with their existing shpat_ tokens.
How zero-plaintext AES-256-GCM + 2026 Client Credentials work
Two things frustrated Shopify merchants in 2026: Shopify retired the old 1-click "Reveal token" screen for new custom apps, and many tools either forced merchants to hack around it with Postman or re-paste sensitive tokens on every visit.
RestockPO solves both cleanly. When you paste your Dev Dashboard Client ID and Client Secret once, your browser encrypts them with Web Crypto AES-256-GCM before saving the ciphertext to your account. Whenever you click Sync Now or push received PO units, our edge sync API exchanges your credentials for a fresh 24-hour Shopify token via Shopify’s official Client Credentials Grant automatically.
Exact 4-step setup inside your Shopify Admin (No Postman)
You do not need a Shopify Partner account, command-line tools, or Postman. Follow these four steps inside your own store admin:
- Step 1: Open Shopify Admin → Settings → Apps → Develop apps → Build apps in Dev Dashboard.
- Step 2: Click Create app, name it RestockPO, and open its configuration.
- Step 3: Under Admin API access scopes, select read_products, read_inventory, write_inventory, and optional read_orders—then click Release and Install app on your store.
- Step 4: Copy your Client ID and Client Secret from Settings and paste them into RestockPO’s Step 3 Connect screen.
Least-privilege scope audit: Why 4 scopes are all you need
Good store security means granting the narrowest possible API permissions. A Purchase Order and inventory replenishment app never needs access to customer emails, shipping addresses, payment gateways, or storefront themes.
| Admin API Scope | Required? | Exact Data Accessed |
|---|---|---|
| read_products | Required | SKU codes, product/variant titles, unit costs, vendor names |
| read_inventory | Required | Live on-hand inventory quantities per variant |
| write_inventory | Required | Atomic +delta adjustments when receiving Purchase Orders |
| read_orders | Optional | Line-item SKU quantities over last 30 days for daily velocity |
Troubleshooting the 3 most common connection errors
If your first sync returns a 401 or 403 error, 95% of the time it is one of three quick fixes: entering a custom storefront domain (`shop.mybrand.com`) instead of your permanent `*.myshopify.com` domain, forgetting to click **Release** after editing scopes in the Dev Dashboard, or forgetting to click **Install app** on the target store.
Frequently Asked Questions
Do I need a Shopify Partner account to create a Custom App?
No. Private Custom Apps are built directly inside your own Shopify store admin at zero additional cost.
Will my connection expire after 24 hours because of Shopify’s Client Credentials Grant?
No. RestockPO stores your encrypted Client ID and Client Secret and automatically mints a fresh 24-hour access token on every sync or PO receive.
How can I revoke RestockPO’s access to my Shopify store?
Click Change / Clear inside RestockPO’s Shopify Sync modal to wipe the encrypted vault immediately, and uninstall the custom app in your Shopify Dev Dashboard.