Use Fiber to load the following resources from the Shopify API.
By default, Shopify resources are pulled via API version 2022-10.
You need the following data to create a Shopify source.
Key | Type | Comments |
---|---|---|
apiKey | string | |
apiSecret | string |
You need the following data to register a Shopify account.
Key | Type | Comments |
---|---|---|
myShopifyDomain | string | Must follow format 'example.myshopify.com' Required |
accessToken | string | Required |
scopes | string[] | Array of scopes of this access token, separated by comma. Optional. E.g: 'read_orders,read_products'. https://shopify.dev/docs/api/usage/access-scopes#authenticated-access-scopes Optional |
Example:
Click to learn more about credentials.
The ID of the Shopify Store is used as the external ID for the account.