Import products csv
import_products_csvOwner/admin only. Import products from CSV text (same columns as export_products_csv; ; , or tab). Match by id, then sku, then ean; no match = new product (needs name and price). Empty cells keep the current value; unknown category = row error. dry_run (default true) returns per-row changes (field: [old, new]) and errors without writing; dry_run=false writes all rows without errors.
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": {
"store_id": "<store_id>",
"csv": "<csv>"
},
"name": "import_products_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | ||
| dry_run | No | ||
| store_id | Yes |