upsert_product
ActiveTool of KaiCalls
declared in 1.0.0
Create a new product row, or update one when `id` is provided. Mirrors POST /api/v1/products. Creating requires name and business_id. Pass `quantity` to set/update inventory.
Parameters schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Product ID to update (omit to create)."
},
"sku": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"category": {
"type": "string"
},
"quantity": {
"type": "number",
"description": "Inventory quantity to set (optional)."
},
"attributes": {
"type": "object"
},
"business_id": {
"type": "string",
"description": "Business ID. Required for create when the token can access multiple businesses."
},
"description": {
"type": "string"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
KaiCalls
https://github.com/cgallic/kai_calls
1/7 registries