Bulk Create Categories

Creates multiple categories simultaneously in a single bulk operation. Supports up to 50 categories per request with optional parent relationships, translations, and custom sort order.

POST/api/v1/{team_slug}/{app_slug}/categories/bulk
API
Management
Updated
Apr 26, 2026

management-api:POST:/api/v1/{team_slug}/{app_slug}/categories/bulk

Creates multiple categories simultaneously in a single bulk operation. Supports up to 50 categories per request with optional parent relationships, translations, and custom sort order.

API ownership

  • API family: Management API
  • Best for: Trusted back-office workflows that create, update, organize, or delete merchant-owned data.
  • Do not use from: Browser-only storefront code or public clients.
  • Guide route: /apis/management/latest

The OpenAPI contract defines the method, path, parameters, request body, and responses for this operation.

Operation

  • Method: POST
  • Path: /api/v1/\{team_slug\}/\{app_slug\}/categories/bulk
  • Summary: Bulk Create Categories
  • Description: Creates multiple categories simultaneously in a single bulk operation. Supports up to 50 categories per request with optional parent relationships, translations, and custom sort order.
  • OpenAPI contract: management-api
  • Operation ID: Not documented in the OpenAPI contract.

Operation key uses API family, method, and path because this OpenAPI contract does not publish an operation ID.

Parameters2 parameters
NameInRequiredTypeDescription
team_slugpathYesstringTeam slug
app_slugpathYesstringApp slug
Request bodyDocumented body
  • Required: Yes
  • Description: Categories data to create
  • Content: application/json (object)

Bulk Create Categories Payload

PropertyTypeRequiredDetails
categoriesobject[]YesmaxItems: 50

Input Category

PropertyTypeRequiredDetails
childlessbooleanNo-
cover_idstringNo-
google_product_category_idstringNorelated google product category in https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt
namestringYes-
parent_idstringNo-
slugstringYes-
sort_orderintegerNomin: 0
statusenum("active", "draft", "inactive")No-
translationsobjectNo-

Category Translations

PropertyTypeRequiredDetails
nameobject[]No-
slugobject[]No-

Generated example (synthetic):

{
  "categories": [
    {
      "childless": false,
      "cover_id": "string",
      "google_product_category_id": "string",
      "name": "string",
      "parent_id": "string",
      "slug": "string",
      "sort_order": 0,
      "status": "active",
      "translations": {
        "name": [],
        "slug": []
      }
    }
  ]
}
Responses4 statuses
StatusDescriptionContent
201Categories created successfullyapplication/json (object)
400Invalid requestapplication/json (object)
401Unauthorized accessapplication/json (object)
500Internal server errorapplication/json (object)

201 - object

Bulk Create Categories Response

PropertyTypeRequiredDetails
dataobjectNo-
detailsstring[]NoAdditional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanNo-
Bulk Create Categories
PropertyTypeRequiredDetails
failedobject[]No-
successfulobject[]No-
Bulk Create Category Failed Creation
PropertyTypeRequiredDetails
namestringNo-
reasonstringNo-
slugstringNo-
Category
PropertyTypeRequiredDetails
attributesobject[]No-
childrenobject[]No-
cover_urlstringNo-
created_atstringNo-
google_product_category_idstringNo-
idstringNo-
namestringNo-
parent_idstringNo-
redirectsobject[]No-
slugstringNo-
sort_orderintegerNoUsed for ordering categories themselves
statusstringNo-
translationsobjectNo-
updated_atstringNo-
uristringNo-

Generated example (synthetic):

{
  "data": {
    "failed": [
      {
        "name": "string",
        "reason": "string",
        "slug": "string"
      }
    ],
    "successful": [
      {
        "attributes": [],
        "children": [],
        "cover_url": "string",
        "created_at": "string",
        "google_product_category_id": "string",
        "id": "string",
        "name": "string",
        "parent_id": "string",
        "redirects": [],
        "slug": "string",
        "sort_order": 0,
        "status": "string",
        "translations": {
          "name": null,
          "slug": null
        },
        "updated_at": "string",
        "uri": "string"
      }
    ]
  },
  "details": [
    "string"
  ],
  "success": false
}

400 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

401 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

500 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanNo-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

Contract identity

Use these fields to confirm you are implementing the intended endpoint contract.

  • API family: Management API
  • Method: POST
  • Path: /api/v1/\{team_slug\}/\{app_slug\}/categories/bulk
  • Operation ID: Not documented in the OpenAPI contract.
  • OpenAPI tag: Categories, Bulk
  • OpenAPI summary: Bulk Create Categories

Bulk Create Categories

# Bulk Create Categories Creates multiple categories simultaneously in a single bulk operation. Supports up to 50 categories per request with optional parent relationships, translations, and custom sort order.
POST /api/v1/{team_slug}/{app_slug}/categories/bulk
Purpose

Creates multiple categories simultaneously in a single bulk operation.

Required inputs

team_slug path app_slug path

Primary response

201 ยท Categories created successfully

Operation key

management-api:POST:/api/v1/{team_slug}/{app_slug}/categories/bulk

## API ownership - API family: Management API - Best for: Trusted back-office workflows that create, update, organize, or delete merchant-owned data. - Do not use from: Browser-only storefront code or public clients. - Guide route: [/apis/management/latest](/apis/management/latest) The OpenAPI contract defines the method, path, parameters, request body, and responses for this operation. ## Operation - Method: `POST` - Path: `/api/v1/{team_slug}/{app_slug}/categories/bulk` - Summary: Bulk Create Categories - Description: Creates multiple categories simultaneously in a single bulk operation. Supports up to 50 categories per request with optional parent relationships, translations, and custom sort order. - OpenAPI contract: management-api - Operation ID: Not documented in the OpenAPI contract. - Stable operation key: `management-api:POST:/api/v1/{team_slug}/{app_slug}/categories/bulk` Operation key uses API family, method, and path because this OpenAPI contract does not publish an operation ID. ## Parameters | Name | In | Required | Type | Description | | --- | --- | --- | --- | --- | | team_slug | path | Yes | string | Team slug | | app_slug | path | Yes | string | App slug | ## Request body - Required: Yes - Description: Categories data to create - Content: application/json (object) ### Bulk Create Categories Payload | Property | Type | Required | Details | | --- | --- | --- | --- | | `categories` | object[] | Yes | maxItems: 50 | #### Input Category | Property | Type | Required | Details | | --- | --- | --- | --- | | `childless` | boolean | No | - | | `cover_id` | string | No | - | | `google_product_category_id` | string | No | related google product category in https://www.google.com/basepages/producttype/taxonomy-with-ids.en-US.txt | | `name` | string | Yes | - | | `parent_id` | string | No | - | | `slug` | string | Yes | - | | `sort_order` | integer | No | min: 0 | | `status` | enum("active", "draft", "inactive") | No | - | | `translations` | object | No | - | #### Category Translations | Property | Type | Required | Details | | --- | --- | --- | --- | | `name` | object[] | No | - | | `slug` | object[] | No | - | **Generated example (synthetic):** ```json { "categories": [ { "childless": false, "cover_id": "string", "google_product_category_id": "string", "name": "string", "parent_id": "string", "slug": "string", "sort_order": 0, "status": "active", "translations": { "name": [], "slug": [] } } ] } ``` ## Responses | Status | Description | Content | | --- | --- | --- | | 201 | Categories created successfully | application/json (object) | | 400 | Invalid request | application/json (object) | | 401 | Unauthorized access | application/json (object) | | 500 | Internal server error | application/json (object) | ### 201 - object #### Bulk Create Categories Response | Property | Type | Required | Details | | --- | --- | --- | --- | | `data` | object | No | - | | `details` | string[] | No | Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes | | `success` | boolean | No | - | ##### Bulk Create Categories | Property | Type | Required | Details | | --- | --- | --- | --- | | `failed` | object[] | No | - | | `successful` | object[] | No | - | ##### Bulk Create Category Failed Creation | Property | Type | Required | Details | | --- | --- | --- | --- | | `name` | string | No | - | | `reason` | string | No | - | | `slug` | string | No | - | ##### Category | Property | Type | Required | Details | | --- | --- | --- | --- | | `attributes` | object[] | No | - | | `children` | object[] | No | - | | `cover_url` | string | No | - | | `created_at` | string | No | - | | `google_product_category_id` | string | No | - | | `id` | string | No | - | | `name` | string | No | - | | `parent_id` | string | No | - | | `redirects` | object[] | No | - | | `slug` | string | No | - | | `sort_order` | integer | No | Used for ordering categories themselves | | `status` | string | No | - | | `translations` | object | No | - | | `updated_at` | string | No | - | | `uri` | string | No | - | **Generated example (synthetic):** ```json { "data": { "failed": [ { "name": "string", "reason": "string", "slug": "string" } ], "successful": [ { "attributes": [], "children": [], "cover_url": "string", "created_at": "string", "google_product_category_id": "string", "id": "string", "name": "string", "parent_id": "string", "redirects": [], "slug": "string", "sort_order": 0, "status": "string", "translations": { "name": null, "slug": null }, "updated_at": "string", "uri": "string" } ] }, "details": [ "string" ], "success": false } ``` ### 400 - object #### Error Message | Property | Type | Required | Details | | --- | --- | --- | --- | | `details` | string[] | No | - | | `message` | string | No | - | | `success` | boolean | No | - | **Generated example (synthetic):** ```json { "details": [ "string" ], "message": "string", "success": false } ``` ### 401 - object #### Error Message | Property | Type | Required | Details | | --- | --- | --- | --- | | `details` | string[] | No | - | | `message` | string | No | - | | `success` | boolean | No | - | **Generated example (synthetic):** ```json { "details": [ "string" ], "message": "string", "success": false } ``` ### 500 - object #### Error Message | Property | Type | Required | Details | | --- | --- | --- | --- | | `details` | string[] | No | - | | `message` | string | No | - | | `success` | boolean | No | - | **Generated example (synthetic):** ```json { "details": [ "string" ], "message": "string", "success": false } ``` ## Contract identity Use these fields to confirm you are implementing the intended endpoint contract. - API family: Management API - Method: `POST` - Path: `/api/v1/{team_slug}/{app_slug}/categories/bulk` - Operation ID: Not documented in the OpenAPI contract. - Stable operation key: `management-api:POST:/api/v1/{team_slug}/{app_slug}/categories/bulk` - OpenAPI tag: Categories, Bulk - OpenAPI summary: Bulk Create Categories