ES | EN

📄 MIPYME Documents

Creates a new product category

POST
Endpoint URL https://api-billing.koywe.com/V1/product_categories
Creates a new product category with the given details.

Parameters

No parameters.

Request body — fields

FieldTypeRequiredDescription
namestringAlways requiredName of the product category.
parent_product_category_idintegerOptionalIdentifier of the parent category. null if there is no parent category.

Request body — JSON example

{
    "name": "string",
    "parent_product_category_id": 0
}

Responses

200 Product category created successfully.