storage/ endpoint provides an interface for managing key-value pairs in a Redis-based store.
In addition to directly storing individual key-value pairs, the API also offers the option of consolidating these entries into logical groups, enabling structured organization and targeted queries. Creating, retrieving, updating, and deleting both individual entries and entire groups is supported.
The API is particularly suitable for temporary configuration data, intermediate caches, or status-related information in the shop system.
Supported methods
List of all supported methods.Key groups
Data fields of a key group
Example
Methods for key-value pairs
This section describes the endpoints for managing individual key-value pairs in the system’s key-value store. The API can be used to create, retrieve, update, and delete entries. Optionally, an expiration date (TTL) can be set to store values for a limited time.GET storage/keys
This endpoint retrieves a list of all key-value pairs stored in the system. The values are returned together with the corresponding key (key), the associated value (value), and an optional expiration date (expirationDate). This endpoint thus enables an overview of all entries currently present in the key-value store.
There are no sort or filter fields — the list of parameters is fixed. For textSearch, the key name is considered; for filter_contains[value], it is not. filter_contains[value] can also be specified multiple times. Other parameters behave the same as for standard GET requests.
Read permissions for key-value store data are required to use this endpoint.
Example
Supported parameters
size, filter_gte[expirationDate], filter_lte[expirationDate], filter_eq[group], pageToken, textSearch, filter_contains[value], sort
Response
Error codes
GET storage/keys/{key}
This endpoint can be used to retrieve an individual key-value pair by its key (key).
The response contains the stored value (value) and, optionally, an expiration date (expirationDate) if one was set.
Read permissions for key-value store data are required to use this endpoint.
Example
Response
Error codes
POST storage/keys
This endpoint can be used to store a new key-value pair in the key-value store. The key (key) and the associated value (value) are passed in the request body.Optionally, a lifetime in days can be specified with
ttlDays, after which the entry is automatically deleted (TTL = Time To Live).
If the key-value pair already exists, it is overwritten.
Create permissions for key-value store data are required to use this endpoint.
Example
Request body
Response
Error codes
DELETE storage/keys/{key}
This endpoint permanently removes an existing key-value pair from the key-value store by its key (key).
On success, a JSON object with success: true is returned.
Delete permissions for key-value store data are required to use this endpoint.
Example
Response
Error codes
Methods for key groups
Key groups are used to logically bundle multiple key-value pairs.The endpoints described here enable groups to be created, edited, retrieved, or deleted. A group contains meta information such as name, description, and a list of associated keys.
GET storage/groups
This endpoint retrieves a list of all key groups defined in the system.A key group is a logical collection of multiple key-value pairs that are managed under a shared group name. The response contains, among other things, the group name (
name), the number of keys it contains (numKeys), and creation and modification times. Filter and sort functions are available for controlling the results.
Read permissions for key-value store data are required to use this endpoint.
Example
Response
Filter fields
keysArray
Sort fields
numKeys, name, createdAt, updatedAt
Error codes
GET storage/groups/{id}
This endpoint can be used to load a single key group by its ID. The response contains all available metadata for the group, including the group name (name), an optional description (description), and a list of associated keys (keysArray).
Read permissions for key-value store data are required to use this endpoint.
Example
Response
Error codes
POST storage/groups
This endpoint creates a new key group. A key group consists of a unique name (name), an optional description (description), and a list of assigned keys (keysArray). The group can be used for structured management and grouping of multiple key-value entries.
Create permissions for key-value store data are required to use this endpoint.
Example
Request body
Response
Error codes
PUT storage/groups/{id}
This endpoint can be used to update an existing key group by its ID. The group name (name), description (description), and associated keys (keysArray) can be changed or reset.
Write permissions for key-value store data are required to use this endpoint.
Example
Request body
Response
Error code
DELETE storage/groups/{id}
This endpoint deletes an existing key group by its ID. The associated key-value entries remain in the system; only the group assignment is removed. On success, a JSON object withsuccess: true is returned.
Delete permissions for key-value store data are required to use this endpoint.
