Connect to your users’ Shopify accounts.
https://passport.useparagon.com/oauth
. Once you set up a Redirect Callback to go live, you will need to change this to the URL of your Redirect Callback.
{{
to invoke the variable menu.
shop
query parameter and redirect to Shopify’s OAuth flow.paragon.completeInstall
to save the user’s account connection.shop
. If the query parameter is present, redirect to the following URL to start the Shopify OAuth flow:SHOPIFY_CLIENT_ID
should match the Client ID that you use in your Shopify integration settings.REDIRECT_CALLBACK_URL
should be the URL of the Redirect Callback page in your app.SHOPIFY_SCOPES
should match the scopes that you use in your Shopify integration settings.code
and shop
in case of a successful installation
error
in case of an unsuccessful installation or denied consent
code
query parameter is present,
shop
query parameter and capture the shop name in the pattern {shop}.myshopify.com
. See the regular expression used below.
paragon.completeInstall
to complete the OAuth exchange and save a new connected Shopify account.
error
query parameter is present,
shop_id
and shop_domain
so that you can erase data for that store from your database.
Example Implementation
{{1.result}}
: This is the full event payload received from Shopify. You will see an example of the event in your workflow Test Data. See Shopify’s documentation on event payloads for more details.{{userSettings.userId}}
: This is the User ID of the Connected User that received the event. You can use this ID to relate the event to a user in your application.