Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: 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 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.

Reading time: about 6 minutes
Developer

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

  1. The app sends you to Shoporama: You are redirected to a login page on shoporama.dk
  2. Log in: Enter your Shoporama email and password
  3. Select store: If you have several stores, you choose which one the app should have access to
  4. Choose the access level: You choose between Read, Write, and Full
  5. 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.

The API access page under Integrations with API keys, including OAuth-generated tokens with their access level, daily limit, and when they were last used
Under Integrations, API access, you find all API keys for the store. Keys generated through OAuth are shown with the prefix OAuth: along with their access level, daily limit, and when they were last used.

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.