---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Create Category (Multivende)

<p>Creates a new category.</p>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Multivende"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/categories": {
      "post": {
        "summary": "Create Category (Multivende)",
        "description": "<p>Creates a new category.</p>",
        "operationId": "create_category_multivende",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "category": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "example": "EcartApi Category",
                        "description": "Category name."
                      },
                      "description": {
                        "type": "string",
                        "example": "Its a EcartApi Category test",
                        "description": "Category description."
                      }
                    },
                    "description": "Category data payload."
                  }
                }
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "category": {
                      "name": "EcartApi Category",
                      "description": "Its a EcartApi Category test"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "category": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "a0f02dda-4e38-4dde-9f5a-52f7dc978712"
                        },
                        "name": {
                          "type": "string",
                          "example": "EcartApi Category"
                        },
                        "description": {
                          "type": "string",
                          "example": "Its a EcartApi Category test"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "success": true,
                      "category": {
                        "id": "a0f02dda-4e38-4dde-9f5a-52f7dc978712",
                        "name": "EcartApi Category",
                        "description": "Its a EcartApi Category test"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```