@plentymarkets/shop-api / setCategoryTemplate
Function: setCategoryTemplate() ​
setCategoryTemplate(
context
,params
):Promise
<Data
<CategoryTemplate
>>
Method setCategoryTemplate - Used to update category template instance.
Parameters ​
• context: PlentysystemsIntegrationContext
• params: CategoryTemplateParams
CategoryTemplateParams
Returns ​
Promise
<Data
<CategoryTemplate
>>
CategoryTemplate
Example ​
ts
const { data } = await setCategoryTemplate(() => useSdk().plentysystems.setCategoryTemplate({
id: 1,
content: 'Test Related Data'
}));