Download OpenAPI specification:Download
General store for tenant-specific information.
You can use the Configuration Service to manage three types of configurations:
Key Features:
Key Benefits:
Retrieves a list of configurations.
configuration.configuration_view
OK
[- {
- "key": "customer.deletion.redirecturl",
- "secured": false,
- "version": 1
}, - {
- "key": "customer.passwordreset.redirecturl",
- "secured": false,
- "version": 1
}, - {
- "key": "customer.changeemail.redirecturl",
- "secured": false,
- "version": 1
}, - {
- "key": "cust.notification.email.from",
- "secured": false,
- "value": "example_email@emporix.com",
- "version": 3
}, - {
- "key": "project_country",
- "secured": false,
- "value": "EN",
- "version": 2
}, - {
- "key": "project_curr",
- "secured": false,
- "value": "[{\"id\":\"EUR\",\"label\":\"Euro\",\"default\":true,\"required\":true}]",
- "version": 3
}, - {
- "key": "project_lang",
- "secured": false,
- "value": "[{\"id\":\"en\",\"label\":\"English\",\"default\":true,\"required\":true}]",
- "version": 2
}, - {
- "key": "taxConfiguration",
- "secured": false,
- "value": {
- "taxClassOrder": [
- "FULL",
- "HALF",
- "ZERO"
], - "taxClasses": {
- "FULL": 19,
- "HALF": 7,
- "ZERO": 0
}
}, - "version": 2
}, - {
- "key": "packagingConf",
- "secured": false,
- "value": {
- "packagingGroupOptions": [
- "1_cooling_product",
- "2_standard",
- "3_fragile"
], - "packagingPositionOptions": [
- "1_bottom_robust",
- "2_bottom_insensitive",
- "3_middle_standard",
- "4_top_sensitive"
]
}, - "version": 2
}, - {
- "key": "storefront.htmlPage",
- "secured": false,
- "value": "index.html",
- "version": 1
}, - {
- "key": "storefront.host",
- "secured": false,
- "value": "tenant.com",
- "version": 1
}, - {
- "key": "unitConf",
- "secured": false,
- "value": [
- {
- "units": {
- "LTR": {
- "availableUnitValue": 1,
- "conversion": {
- "MLT": 1000
}
}, - "GRM": {
- "availableUnitValue": 100,
- "conversion": {
- "KGM": 0.001
}
}, - "KGM": {
- "availableUnitValue": 1,
- "conversion": {
- "GRM": 1000
}
}, - "MLT": {
- "availableUnitValue": 100,
- "conversion": {
- "LTR": 0.001
}
}
}, - "name": "UnitConfiguration",
- "description": "This object holds the unit configurations and the factors to calculate between different units"
}
], - "version": 1
}
]
Creates new configurations.
configuration.configuration_manage
Created
Bad Request
Conflict
[- {
- "key": "project_country",
- "secured": false,
- "value": "DE",
- "version": 1
}, - {
- "key": "project_lang",
- "secured": false,
- "value": "[{\"id\":\"en\",\"label\":\"English\",\"default\":true,\"required\":true},{\"id\":\"de\",\"label\":\"German\",\"default\":false,\"required\":false}]",
- "version": 1
}
]
[- {
- "key": "project_country",
- "secured": false,
- "value": "DE",
- "version": 1
}, - {
- "key": "project_lang",
- "secured": false,
- "value": "[{\"id\":\"en\",\"label\":\"English\",\"default\":true,\"required\":true},{\"id\":\"de\",\"label\":\"German\",\"default\":false,\"required\":false}]",
- "version": 1
}
]
Retrieves a specified configuration.
configuration.configuration_view
OK
{- "key": "project_lang",
- "secured": false,
- "value": "[{\"id\":\"en\",\"label\":\"English\",\"default\":true,\"required\":true}]",
- "version": 2
}
Updates a specified configuration.
configuration.configuration_manage
OK
Bad Request
Conflict
{- "key": "project_country",
- "secured": false,
- "value": "AT",
- "version": 1
}
{- "key": "project_country",
- "secured": false,
- "value": "AT",
- "version": 1
}
Deletes a specified configuration.
configuration.configuration_manage
No Content
Not Found
{- "details": [
- {
- "message": "Couldn't delete the tenant configuration with the propertyKey ''{propertyKey}'' for the tenant ''{tenant}''"
}
], - "message": "Tenant configuration could not be found",
- "status": 404,
- "type": "application/json"
}
Retrieves a list of clients for a specified tenant.
configuration.configuration_view
OK
[- "saas-ag.caas-indexing-service-client"
]
Retrieves a list of configurations for a specified client.
configuration.configuration_view
OK
[- {
- "_id": "saas-ag.caas-indexing-service-client_algolia_activation",
- "client": "saas-ag.caas-indexing-service-client",
- "key": "algolia_activation",
- "value": true
}, - {
- "_id": "saas-ag.caas-indexing-service-client_indexing_configuration",
- "client": "saas-ag.caas-indexing-service-client",
- "key": "indexing_configuration",
- "value": {
- "activePublishedProductIndexing": true,
- "activeNonPublishedProductIndexing": true
}
}
]
Creates a new client configuration.
configuration.configuration_manage
Created
Bad Request
Conflict
[- {
- "client": "test_client",
- "key": "test_key",
- "value": true
}
]
[- {
- "_id": "test_client_test_key",
- "client": "test_client",
- "key": "test_key",
- "value": true
}
]
Retrieves a specified client configuration.
configuration.configuration_view
OK
{- "_id": "saas-ag.caas-indexing-service-client_indexing_configuration",
- "client": "saas-ag.caas-indexing-service-client",
- "key": "indexing_configuration",
- "value": {
- "activePublishedProductIndexing": true,
- "activeNonPublishedProductIndexing": true
}
}
Updates a specified client configuration.
configuration.configuration_manage
OK
Bad Request
Conflict
{- "id": "test_client_test_key",
- "client": "test_client",
- "key": "test_key",
- "value": false
}
{- "_id": "test_client_test_key",
- "client": "test_client",
- "key": "test_key",
- "value": false
}
Deletes a specified client configuration.
configuration.configuration_manage
No Content
Bad Request
Conflict
{- "message": "Invalid tenant supplied without proper authorization",
- "status": 400,
- "type": "application/json"
}
Retrieves a list of global configurations.
OK
[- {
- "key": "customer.deletion.redirecturl",
- "secured": false,
- "version": 1
}, - {
- "key": "customer.passwordreset.redirecturl",
- "secured": false,
- "version": 1
}, - {
- "key": "customer.changeemail.redirecturl",
- "secured": false,
- "version": 1
}, - {
- "key": "cust.notification.email.from",
- "secured": false,
- "value": "example_email@emporix.com",
- "version": 3
}, - {
- "key": "project_country",
- "secured": false,
- "value": "EN",
- "version": 2
}, - {
- "key": "project_curr",
- "secured": false,
- "value": "[{\"id\":\"EUR\",\"label\":\"Euro\",\"default\":true,\"required\":true}]",
- "version": 3
}, - {
- "key": "project_lang",
- "secured": false,
- "value": "[{\"id\":\"en\",\"label\":\"English\",\"default\":true,\"required\":true}]",
- "version": 2
}, - {
- "key": "taxConfiguration",
- "secured": false,
- "value": {
- "taxClassOrder": [
- "FULL",
- "HALF",
- "ZERO"
], - "taxClasses": {
- "FULL": 19,
- "HALF": 7,
- "ZERO": 0
}
}, - "version": 2
}, - {
- "key": "packagingConf",
- "secured": false,
- "value": {
- "packagingGroupOptions": [
- "1_cooling_product",
- "2_standard",
- "3_fragile"
], - "packagingPositionOptions": [
- "1_bottom_robust",
- "2_bottom_insensitive",
- "3_middle_standard",
- "4_top_sensitive"
]
}, - "version": 2
}, - {
- "key": "storefront.htmlPage",
- "secured": false,
- "value": "index.html",
- "version": 1
}, - {
- "key": "storefront.host",
- "secured": false,
- "value": "tenant.com",
- "version": 1
}, - {
- "key": "unitConf",
- "secured": false,
- "value": [
- {
- "units": {
- "LTR": {
- "availableUnitValue": 1,
- "conversion": {
- "MLT": 1000
}
}, - "GRM": {
- "availableUnitValue": 100,
- "conversion": {
- "KGM": 0.001
}
}, - "KGM": {
- "availableUnitValue": 1,
- "conversion": {
- "GRM": 1000
}
}, - "MLT": {
- "availableUnitValue": 100,
- "conversion": {
- "LTR": 0.001
}
}
}, - "name": "UnitConfiguration",
- "description": "This object holds the unit configurations and the factors to calculate between different units"
}
], - "version": 1
}
]