Skip to main content

API Keys

This page explains how to create and manage GraphQL and REST API keys for external system integrations.

GraphQL API Keys tab

Before you begin

  • You need the API Key role to view this page.
  • You need Owner access on the API Key role to create or delete keys.

View API keys

Go to Admin > API Key Management. The page has two tabs: GraphQL and REST.

GraphQL tab

ColumnDescription
NameAPI key name (sortable)
ActiveWhether the key is active (sortable)
ChannelAssociated sales channel
Date CreatedWhen created (sortable)
Date UpdatedWhen last modified (sortable)

REST tab

REST API Keys tab

ColumnDescription
NameAPI key name (sortable)
ActiveWhether the key is active (sortable)
Date CreatedWhen created (sortable)
Date UpdatedWhen last modified (sortable)

Create a GraphQL API key

New GraphQL API Key dialog with role definitions

  1. On the GraphQL tab, click New GraphQL API Key.
  2. Fill in the details:
FieldRequiredDescription
NameYesKey name
ChannelNoAssociate with a specific sales channel
RolesNoAdd one or more roles with access levels. Each role has a Role Definition (Product Data, Logistics, Configuration, Order Data, Pricing, Role & permission, Shop & channel, User) and an Access level (Viewer, Editor or Owner). Click Add Role to add more. You can change roles and access levels later by editing the key.
ActiveYesToggle on or off (default: off)
Retrieve key only onceNoWith this on, the key is shown only right after creation and cannot be retrieved again
  1. Click Save.

After creation, the generated API key appears in the API Key field. Click the eye icon to reveal it and the copy button to copy it.

warning

With Retrieve key only once on, the key is shown only right after you create it. Copy it and store it somewhere safe before you close the dialog. You can still rename the key, change its roles and switch it off, but you cannot see the key itself again. If you lose it, create a new key and delete the old one.

Create a REST API key

New REST API Key dialog

  1. On the REST tab, click New REST API Key.
  2. Enter a Name (required), set the Active toggle and decide whether to switch on Retrieve key only once.
  3. Click Save.

After creation, the Client Id and Client Secret fields appear. Click the eye icon to reveal them and the copy button to copy the values.

warning

With Retrieve key only once on, the client secret is shown only right after you create the key. Copy it and store it somewhere safe before you close the dialog. You can still rename the key and switch it off, but the secret is not shown again. If you lose it, create a new key and delete the old one.

Edit an API key

Click any row to open the edit dialog. For GraphQL keys you can also change the roles and access levels here, for example to tighten what an existing key can do or to extend it when an integration needs more.

Delete API keys

  1. Select one or more keys using the checkboxes.
  2. Click Delete.
  3. Confirm the deletion.
warning

Deleting a key is permanent and any integration still using it stops working. If you only want to stop a key from working for now, switch off its Active toggle instead. You can switch that back on.

Filter API keys

FilterTypeDescription
Is ActiveRadioActive or Inactive
Date CreatedDate rangeFilter by creation date
Date UpdatedDate rangeFilter by modification date