modx_ms2_update_product_options
Create, update, or remove miniShop2 product option values with a single call; set an option value to null to delete it.
Instructions
Create, update, or remove miniShop2 option values for a product. Use null value to remove an option value.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_id": "<product_id>",
"options": "<options>"
},
"name": "modx_ms2_update_product_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | ||
| product_id | Yes |