Emergency situation

In case of emergencies or breakdowns, you can send an SMS to our emergency hotline

On-call phone (SMS only)

+45 29 70 15 95

Send an SMS with the following information:

  • Your name and webshop
  • Description of the problem
  • Your callback phone number

Notes: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

OAuth - give apps access to your webshop

Learn how OAuth works in Shoporama. Give third-party apps secure access to your online store without sharing your password.

Reading time: approx. {eight} minutes
Developer

Shoporama supports OAuth, allowing third-party apps to securely access your online store without you having to share your password. When an app requests access, you log in with your Shoporama account, select which online store the app should have access to, and determine the level of access.

Here’s how it works

  1. The app sends you to Shoporama: You’ll be redirected to a login page on shoporama.dk
  2. Log in: Enter your Shoporama email and password
  3. Select an online store: If you have multiple online stores, choose the one the app should have access to
  4. Select access level: Choose between Read, Write, and Full
  5. Authorize: Shoporama generates an API key and redirects you back to the app

Access Levels

You can choose between three access levels:

  • Read: The app can only retrieve data (products, orders, etc.) but cannot make any changes
  • Write: The app can create, update, and delete data, but cannot retrieve it
  • Full: The app can both retrieve and modify data in the selected online store

The access level isn’t the only restriction. If the company administrator has assigned you a role other than Full Access in the online store—such as Employee or Marketing—the app can only perform the actions permitted by that role, even if you select Full Access. Requests outside the scope of your role will be rejected. If your role changes later, the new role will also apply to the connections you’ve already approved. If you want the app to have full capabilities, have a user with the “Full Access” role approve the connection. Read more in Roles and Permissions.

Claude and other AI connections can only have the “Read” or “Full” access level, and they require the “Full Access” role. Therefore, when you connect an AI, the login page will only display the online stores where you have the “Full Access” role. If you do not have Full Access to any of your online stores, or if you are restricted to specific categories, the page will instead display the message: “Your role does not grant access to connect AI to your online stores. This requires Full Access. Contact your company administrator." No key will be created.

Security

  • Your password is never shared with the app; it only receives an API key
  • You choose exactly which online store the app has access to
  • You determine the access level
  • If the company administrator has assigned you a restricted role in the online store, that 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 user. If you are a company administrator, you can view them under Company → Users → Activity Log
  • Access is tied to the user who authorized it. If the user is removed from the online store, the key is automatically revoked, and the app stops working

When a user is removed from the online store

If you remove a user from the online store, or if you revoke the user’s access to that specific online store, all API keys the user obtained via OAuth for the online store will be revoked. This also applies to Claude, the POS app, and the scanner app. The app will then receive a 401 Unauthorized response, and if it needs access again, it must be re-authorized by a user who has access to the online store. A revoked key may still appear on the list under Integrations → API Access, but it will 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 linked to a user and are not affected. However, a key created there by a user with the Developer role is linked to that user and will also be revoked. Read more in Remove a user from your store.

Manage Access

API keys generated via OAuth appear under Integrations → API Access in your admin panel 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 can view all keys here. Users with the Developer role can also access this page, but can only view and revoke their own keys and connections. New connections are also listed in the activity log under Company → Users → Activity Log, which only the company administrator can access.

Siden API-adgang under Integrationer med API-nøgler, heriblandt OAuth-genererede tokens med adgangsniveau, daglig grænse, og hvornår de sidst blev brugt
Under Integrations, API Access, you’ll find all API keys for the online store. Keys generated via OAuth are displayed with the prefix “OAuth:” along with the access level, daily limit, and when they were last used.

For Developers

If you’re building an app that needs to integrate with Shoporama, you’ll find a complete OAuth guide with code examples in PHP, Laravel, JavaScript, Node.js, and Python in the API documentation. Handle a 401 Unauthorized error by sending the user through the OAuth flow again, as the key may have been revoked—for example, when the user who authorized the app has been removed from the online store. If the app receives a 403 error with the error code `insufficient_role`, the key is valid, but the role of the user who authorized the connection does not permit the request. Sending the same user through the flow again will not help. Instead, display the message from the response and ask the store to change the user’s role or have a user with the “Full Access” role authorize the connection.

Tip

If you have any questions about OAuth or API access, feel free to contact us at support@shoporama.dk.