In this article
Overview
You can use this account type to connect Shopify Snaps with data sources that use Shopify Dynamic OAauth2 accounts.
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 Dependency | Description |
---|---|---|
Label* | N/A | Specify a unique label for the account. Default Value: N/A |
Access Token* | N/A | Specify the access token for the account. See Getting an Access Token on how to get an access token. Default Value: N/A |
Store Name* | N/A | Specify the store name for which you want to create the account. Default Value: N/A |
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 Post man 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 |
---|---|---|
"401 unauthorized" | The necessary authentication credentials are not present in the request or are incorrect. | Specify valid authentication credentials. |