Connect

Connect a Shopify store with a custom-app Admin token

Changed on

Token-paste alternative to the OAuth flow: connect a store using the Admin API access token of a custom app the merchant created in their own Shopify admin (Settings → Apps and sales channels → Develop apps, with the read_content, write_content, read_products and write_products scopes). Use this when the one-click OAuth connect is unavailable or when your users prefer not to install a third-party app on their store. The token is validated against the store before anything is saved; custom-app tokens do not expire. Connecting the same profile to a store again replaces the stored token in place.

post/v1/connect/shopify/token

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/connect/shopify/token
  • Auth: HTTP bearer

Request body

profileIdstring required

Your Zernio profile ID (get from /v1/profiles).

shopstring required

The myshopify.com store domain, e.g. your-store.myshopify.com (the bare your-store prefix is accepted too).

accessTokenstring required

Admin API access token of the merchant-created custom app (starts with shpat_).

Response

Store connected as a platform account

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status