26bee5940ef6
Get Shopify OAuth connect URL
Initiate the Shopify OAuth flow for a store. Shopify is a connect-only platform: the connected account does not publish social posts, it powers the Blogs API (/v1/accounts/{accountId}/blogs). Returns an authUrl to redirect the merchant to; after they approve the install, Shopify redirects their browser to Zernio's callback, the account is created on the profile (platform shopify), and the browser is redirected to redirect_url (or the Zernio dashboard when omitted). Requested scopes are read_content and write_content (content only; no customer or order data). Connecting the same profile to a store again refreshes the stored token in place.
Query parameters
Your Zernio profile ID (get from /v1/profiles).
The myshopify.com store domain to connect, e.g. your-store.myshopify.com (the bare your-store prefix is accepted too).
Your custom redirect URL after connection completes. Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path. On failure an error query param is appended.
Response
OAuth authorization URL to redirect the merchant to