create_product
Add new products to your CS-Cart store with required details like product name, price, categories, description, stock quantity, and shipping cost. Manage product status and enhance inventory efficiently.
Instructions
Create a new product in the CS-Cart store
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | No | Product quantity in stock | |
category_ids | No | Array of category IDs | |
description | No | Product description | |
full_description | No | Full product description | |
price | Yes | Product price | |
product | Yes | Product name | |
shipping_freight | No | Shipping cost | |
status | No | Product status (A=Active, D=Disabled, H=Hidden) | A |
weight | No | Product weight |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"default": 0,
"description": "Product quantity in stock",
"type": "number"
},
"category_ids": {
"description": "Array of category IDs",
"items": {
"type": "number"
},
"type": "array"
},
"description": {
"description": "Product description",
"type": "string"
},
"full_description": {
"description": "Full product description",
"type": "string"
},
"price": {
"description": "Product price",
"type": "number"
},
"product": {
"description": "Product name",
"type": "string"
},
"shipping_freight": {
"description": "Shipping cost",
"type": "number"
},
"status": {
"default": "A",
"description": "Product status (A=Active, D=Disabled, H=Hidden)",
"enum": [
"A",
"D",
"H"
],
"type": "string"
},
"weight": {
"description": "Product weight",
"type": "number"
}
},
"required": [
"product",
"price"
],
"type": "object"
}