@plentymarkets/shop-api / doAddCategory
Function: doAddCategory() ​
doAddCategory(
context
,params
):Promise
<Data
<CategoryEntry
>>
Defined in: api/doAddCategory/index.ts:18
Method doAddCategory - Adds a category.
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
CategoryTemplateParams
Returns ​
Promise
<Data
<CategoryEntry
>>
CategoryTemplate
Example ​
ts
const { data } = await doAddCategory(() => useSdk().plentysystems.doAddCategory(params));