Connecting an API integration
How an API integration brings your locations and stock data into Stokkd, where to set one up, and what changes afterwards.
- See the integration:
- Everyone
- Change the integration:
- OwnersAdministrators
Updated
What it is
Connecting an API integration links a supported system directly to Stokkd, with no file uploads:
- your locations sync in as sites;
- current stock quantities are imported when you create a stocktake;
- counted quantities are written back to the connected system when you post the stocktake.
Users are not brought in by the integration. You add your team in Settings → Users.
You can set one up in two places:
- During onboarding — at Stock setup, select I use Shopify, then choose your system
from the list of available integrations. This takes you to the Connect your store page,
which has its own step indicator — Choose your system → Connect → Review sites —
separate from the Account setup / Company details / Stock setup indicator you saw earlier
in onboarding. - Later, in Settings → Integration — if your company started on Manual and wants to
switch, or if you need to reconnect.
Available integrations
Each API integration has its own article with the steps and settings for that system:
- Shopify — see Connect Shopify
Shopify is the only API integration today. Any other system works with a Manual integration, using stock files.
How it works
- Select Connect via API, then select your system from the list of available integrations.
- Follow the connect steps in the article for that system (for example, Connect Shopify).
- Your locations sync in as sites. Review them.
- During onboarding: select Continue on the Review sites step to finish setup; at least one
location must have synced. From Settings: you return to Settings → Integration once the
connection is made.
Why it matters
Once an API integration is connected, the connected system is the source of truth for your
locations:
- Sites come from the sync and can't be created by hand in Stokkd. A synced site's name, status
and address can't be edited in Stokkd either: change them in the connected system, then sync
again (Sync locations (Sites) in Settings → Integration). The site code and sort order
stay editable in Stokkd. - Changing integrations later is possible in Settings → Integration, but it is meant to be a
rare, deliberate action: you see a warning before confirming, and it is unavailable while a
stocktake is active.
Key settings
- Change integration in Settings → Integration asks you to confirm a warning that strongly
recommends contacting support first, and is unavailable while your company has an active stocktake. - Store and account details (such as a store URL) are specific to each integration — see that
integration's article.
Best practices
- Read the article for your integration before you start, so you have the required details ready.
- Changing integrations once you are up and running affects how every stocktake imports and exports
stock. If you're unsure, contact support before confirming the change. - Not ready to connect a live system? Choose Manual during onboarding. You can switch to an API
integration later.