In this article
Overview
You can use this account type to connect Shopify Snaps with data sources that use Shopify Dynamic OAauth2 accounts.
Expression-enabled authentication fields, such as Username, Password, and Client Secret, support Secrets Management, a SnapLogic add-on that allows you to store endpoint credentials in a third-party secrets manager, such as AWS Secrets Manager, Azure Key Vault, or HashiCorp Vault. During validation and execution, pipelines obtain the credentials directly from the secrets manager. Learn more: Configure Accounts to use secrets.
Prerequisites
None.
Limitations
- API versions: Shopify releases new API versions every quarter. Each stable version is supported only for a minimum of 12 months. Part of a Shopify API is deprecated if it becomes unnecessary, unsafe, or outdated. The API’s are marked as deprecated when they are removed in a newer version of the API. The deprecation is then retroactively applied to previous stable versions of the API.
API Rate Limit: All Shopify APIs are rate-limited. Shopify uses various strategies to enforce rate limits, such as Calculated query cost, Request-based limit, and Time-based limit.
Shopify Snap Pack uses admin APIs, which are applicable for Request-based limit. If the APIs cross the rate limit, the Snap fails.
Known Issues
None.
Account Settings
Field Name | Field Type | Description |
---|---|---|
Label* Default Value: N/A | String | Specify a unique label for the account. |
Access Token* Default Value: N/A | String/Expression | Specify the access token for the account. Learn more about getting an Access Token. |
Store Name* Default Value: N/A | String/Expression | Specify the store name for which you want to create the account. |
Getting an Access Token
Log into the Shopify application.
Provide the required parameters, such as Client ID, Client Secret, and Redirect URL.
Hit the URL from the browser.
The output as shown below is displayed in the browser.From the above URL, copy the code and create a request in Postman by providing Client ID, Client Secret, and code and click Send.
The access token is displayed along with the scope in the above URL.Provide the Access token in the Shopify Dynamic OAuth2 Account.
Troubleshooting
Error | Reason | Resolution |
---|---|---|
| The necessary authentication credentials are not present in the request or are incorrect. | Specify valid authentication credentials. |