Wildberries API TypeScript SDK / getOperationsByCategory
Function: getOperationsByCategory()
ts
function getOperationsByCategory(category: string): string[];Defined in: config/operation-metadata.ts:3283
Get all operations for a specific category
Parameters
| Parameter | Type | Description |
|---|---|---|
category | string | API category (e.g., 'content', 'marketplace', 'discountsandprices') |
Returns
string[]
Array of operation keys matching the category
Example
typescript
import { getOperationsByCategory } from 'daytona-wildberries-typescript-sdk';
const contentOps = getOperationsByCategory('content');
// Returns: ['products.getParentAll', 'products.getObjectAll', ...]
const marketplaceOps = getOperationsByCategory('marketplace');
// Returns: ['products.getStocks', 'products.updateStock', ...]