Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Catalog → Create Category

AI-generated

Summary

Create a new category in Salla's catalog by specifying its name and optional fields to classify and organize items or products within the store's hierarchy.

Inputs

  • Sub-resource (required) — Select a sub-resource within the chosen category; for this operation, select 'categories'.
  • Name (required) — Specify the title or label of the category, supporting multi-language input.
  • Additional Fields — Optionally provide extra details for the category, such as an image URL, SEO metadata (title, description, URL), display channels, translations for supported languages, parent category ID (for establishing hierarchy), sort order, and associated products with sorting.
  • Return Mode — Choose how the response is returned: either 'Data Only' for the parsed payload or 'Full Envelope' to receive the complete backend response including status and raw data.

Output shape

a list with one item containing the newly created category data or the full backend response envelope, depending on the selected Return Mode.

Response shape depends on Return Mode input; arrays may emit multiple items when Data Only mode is selected. Errors are thrown if required fields are missing or if the API call fails.

Examples

Example 1: Create a basic category called 'New Arrivals' under categories.

Set Resource to 'Catalog', Sub-resource to 'Categories', Operation to 'Create Category', provide 'New Arrivals' as the Name, and use default Return Mode 'Data Only'. Output includes the created category details.

Discussion