@plentymarkets/shop-api / setConfiguration
Function: setConfiguration() ​
setConfiguration(
context
,params
):Promise
<Data
<Configuration
[]>>
Method setConfiguration - Used to save changes on a system configuration.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: UpdateConfigurationParams
Returns ​
Promise
<Data
<Configuration
[]>>
Remarks ​
- Method saves changes on a system configuration.
Example ​
ts
const { data } = await useSdk().plentysystems.setConfiguration({
category: 'seo',
settings: [{
"key": "font",
"value": "arial2"
}]
});