# Shopify

Connect a Shopify store to manage its blog articles (Blogs API), catalog, stock and discounts (Commerce API) and install ad platform pixels; a store publishes no social posts.

import { Tab, Tabs } from 'fumadocs-ui/components/tabs';

A connected account with `platform: "shopify"` lets you:

- create, schedule, update and delete the store's blog articles with the [Blogs API](/blogs/list-blogs)
- manage its products, stock, collections, discounts and more with the [Commerce API](/guides/commerce)
- install Meta, TikTok, Google, LinkedIn, Pinterest, X and OpenAI tags on its storefront ([Tracking pixels](/platforms/shopify/tracking-pixels))

Shopify is connect-only. A store never appears as a target in `POST /v1/posts`, publishes no social posts and reports no analytics.

## Quick reference

| Property | Value |
|----------|-------|
| Platform value | `shopify` |
| What it manages | Storefront blogs and blog articles; the store's catalog through the [Commerce API](/platforms/shopify/commerce#commerce) |
| Auth | OAuth 2.0 (store domain required) or a custom-app Admin token |
| Scopes | `read_content`, `write_content`, `read_products`, `write_products`, `write_pixels`, `read_customer_events` |
| Tracking pixels | One Zernio web pixel firing one tag per ad platform ([Tracking pixels](/platforms/shopify/tracking-pixels)) |
| Social posting | No |
| Analytics | No |
| Media requirements | None (article images are referenced by URL) |
| Scheduling | Yes, native (Shopify publishes at `publishDate`; no Zernio queue) |
| Drafts | Yes (`isPublished: false`) |
| Article body | HTML (`bodyHtml`) |
| SEO fields | Yes (`seo.title`, `seo.description`) |
| Pagination | Cursor (`limit` 1 to 50, default 20, plus `nextCursor`) |

## Before you start

Shopify requires the store's `myshopify.com` domain before OAuth can start. Collect it from the merchant first.

Shopify has no store picker and no lookup from a merchant to their shops, so an authorization URL can only be built for a domain you already know.

A merchant who installs from the Shopify App Store never types it, because Shopify supplies the domain to Zernio on that path.

Blog, article, product and variant ids are Shopify's own numeric ids, not Zernio object ids. Read them from API responses; never construct them.

## Connect

Call `GET /v1/connect/shopify` with `profileId` and `shop` on [Get Shopify OAuth connect URL](/connect/get-shopify-connect-url). Send the merchant to the returned `authUrl`.

After they approve the install, Shopify calls Zernio's callback. The account is created on your profile, and the browser lands on your `redirect_url`.

The full flow, with code for every step, is on [Connect](/platforms/shopify/connect).

## In this section

<PlatformPages platform="shopify" />

## Related

- [Connecting accounts](/guides/connecting-accounts#shopify): the OAuth and Admin-token paths.
- [Blogs API](/blogs/list-blogs): every blog and article endpoint.
- [Commerce API](/guides/commerce): products, stock, collections, discounts and Meta catalog sync.
- [Pixels and tracking tags](/guides/pixels): the tags you can install, per ad platform.
- [Get Shopify OAuth connect URL](/connect/get-shopify-connect-url): every parameter of the connect call.
- [Connect with an Admin token](/connect/connect-shopify-with-token): the token-paste alternative.
- [Platforms overview](/platforms): the 16 posting platforms.