Get an Access Token
Before being able to make any request, you will need to create an Access token. This token is used to authenticate all of your requests to the Kariz API. By default, the token is valid for 90 days.Magic Link Authentication
Our Magic Link is the component that your users will interact with in order to link their accounts to Kariz and allow you to access their accounts via the Kariz API.The Magic Link will handle credential validation, OAuth, and error handling for each platform that we support. Link works across all modern browsers and platforms.
Required Inputs
- Authorization: Your Kariz Access token (not your application API key) must be included in the Authorization header for all API requests. This token is obtained from the Obtain Access Token endpoint as described in the Quickstart guide.
- tpUserId: The user ID of the user. This user ID will be used to get user data across channels in subsequent requests.
- scopes (optional): These are the sales channels that you want to let the user authenticate to. By default, the user will be given the option to authenticate to all supported channels.
When you send a tpUserId that doesn’t exist yet, we create a new user record. When you use an existing tpUserId, we update that record to include new sales channels or update existing ones.
Token Authentication
If you already have authentication tokens for your users’ E-commerce platforms, you can use Token Authentication to directly access their data without requiring them to go through the Magic Link flow. When making API requests, include the token information directly in the request body:Channel-Specific Parameters
Different E-commerce platforms require different token parameters. These parameters need to be appended to each request for which you want to do the token authenticaiton:Shopify
Shopify
WooCommerce
WooCommerce
Amazon
Amazon
Bol
Bol
Lightspeed
Lightspeed
BigCommerce
BigCommerce
Mirakl
Mirakl
Magento
Magento
Supported Sales Channels
Kariz currently supports the following sales channels:- shopify
- amazon
- woocommerce
- bol
- sharetribe
- lightspeed_c
- mirakl
- magento
- bigcommerce