@plentymarkets/shop-api / doApplyConfiguration
Function: doApplyConfiguration() ​
doApplyConfiguration(
context,requireBuild):Promise<Data<string>>
Defined in: api/doApplyConfiguration/index.ts:20
Method doApplyConfiguration - Apply current configuration.
Parameters ​
context ​
PlentysystemsIntegrationContext
requireBuild ​
boolean = true
If true, the configuration is applied and the storefront is rebuilt.
Returns ​
Promise<Data<string>>
Remarks ​
- Calls /rest/storefront/deploy
- This method is used to apply the current configuration.
Example ​
ts
const { data } = await useSdk().plentysystems.doApplyConfiguration(true);