OAuth: give third-party apps secure access to your store
Learn how OAuth works in Shoporama. Give third-party apps secure API access to your store without sharing your password, and control the access level.
Shoporama supports OAuth, so third-party apps can get secure access to your store without you sharing your password. When an app requests access, you log in with your Shoporama account, choose which store the app should have access to, and decide the access level.
How it works
- The app sends you to Shoporama: You are redirected to a login page on shoporama.dk
- Log in: Enter your Shoporama email and password
- Select store: If you have several stores, you choose which one the app should have access to
- Choose the access level: You choose between Read, Write, and Full
- Approve: Shoporama generates an API key and sends you back to the app
Access levels
You can choose between three access levels:
- Read: The app can only fetch data (products, orders, and more) but cannot change anything
- Write: The app can create, update, and delete data, but cannot fetch it
- Full: The app can both fetch and change data in the selected store
The access level is not the only limit. If the company administrator has given you a role other than Full access in the store, such as Employee or Marketing, the app can only do what the role allows, even if you choose Full. Calls outside the role are rejected. If your role changes later, the new role also applies to the connections you have already approved. If the app needs to be able to do everything, have a user with the Full access role approve the connection. Read more in Roles and permissions.
Claude and other AI connections can only get the Read or Full access level, and they require the Full access role. When you connect an AI, the login page therefore only shows the stores where you have the Full access role. If you do not have Full access in any of your stores, or you are limited to specific categories, the page instead shows the message "Your role does not allow you to connect AI to your stores. This requires full access. Contact the company administrator." No key is created.
Security
- Your password is never shared with the app, which only gets an API key
- You choose exactly which store the app gets access to
- You decide the access level
- If the company administrator has given you a limited role in the store, the restriction also applies to the app
- API keys can be revoked at any time under Integrations → API access
- All new access grants are logged with the time and the user. If you are the company administrator, you can see them under Company → Users → Activity Log
- The access is tied to the user who approved it. If the user is removed from the store, the key is revoked automatically, and the app stops working
When a user is removed from the store
If you remove a user from the store, or remove the user's access to that particular store, all the API keys the user has received through OAuth for the store are revoked. This also applies to Claude, the POS app, and the scanner app. The app then gets the response 401 Unauthorized, and if it needs access again, it must be approved again by a user who has access to the store. A revoked key may still appear in the list under Integrations → API access, but it does not work, and you can delete it. API keys that a user with the Full access role has created manually under Integrations → API access are not tied to a user and are not affected. A key that a user with the Developer role has created there, on the other hand, is tied to that user and is also revoked. Read more in Remove a user from your store.
Manage access
API keys generated through OAuth are shown under Integrations → API access in your admin with the prefix "OAuth:". Here you can see when the key was last used, and you can revoke access if you no longer want the app to have access. Users with the Full access role see all keys here. Users with the Developer role can also open the page, but they only see and revoke their own keys and connections. New connections also appear in the activity log under Company → Users → Activity Log, which only the company administrator can open.

For developers
If you are building an app that needs to integrate with Shoporama, you will find a complete OAuth guide with code examples in PHP, Laravel, JavaScript, Node.js, and Python in the API documentation. Handle 401 Unauthorized by sending the user through the OAuth flow again, because the key may have been revoked, for example when the user who approved the app has been removed from the store. If the app gets 403 with the error code insufficient_role, the key is valid, but the role of the user who approved the connection does not allow the call. Sending the same user through the flow again will not help. Instead, show the message from the response, and ask the store to change the user's role or have a user with the Full access role approve the connection.
Tip
If you have questions about OAuth or API access, you are welcome to contact us at support@shoporama.dk.
Related articles
Facebook Conversions API: setup and catalog matching
How to set up the Facebook (Meta) Conversions API in Shoporama with your Pixel ID and access token, how purchases are deduplicated automatically,...
Find or create an API key (API token)
How to find or create an API token in Shoporama for integrations such as Shipmondo, and how the daily API limits, 429 errors, and included calls work.
Log in with SFTP to edit your theme
How to log in to your Shoporama store with SFTP so you can edit your theme files in your own SFTP client.
Related features
Headless commerce and OAuth
Use Shoporama as a headless ecommerce backend with OAuth login and a comprehensive REST API. Build custom storefronts, mobile apps, and integrations.
REST API: build exactly the integration you want
A complete REST API with access to products, orders, customers, and more. Build your own integrations, apps, or a headless frontend, and use webhooks.
REST API
A REST API is a standard way for systems to communicate over HTTP. Learn how REST APIs work and how online stores use them for integrations.