Import products
import_productsAdd or update many products at once, by the same rules as POST /v1/products/import: at most 5,000 rows, each row the fields of create_product. Send dry_run: true first: it checks every row and writes nothing. A real import writes nothing while any row has a problem. Each row comes back as create, update, unchanged or conflict.
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": {
"rows": "<rows>"
},
"name": "import_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | One object per product. | |
| dry_run | No | true checks and writes nothing. Default false. |