@plentymarkets/shop-api / setConfiguration
Function: setConfiguration() ​
setConfiguration(
context,params):Promise<Data<Configuration[]>>
Defined in: api/setConfiguration/index.ts:26
Method setConfiguration - Used to save changes on a system configuration.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
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"
}]
});