add_to_import_list
Batch-add up to 50 Hertwill product IDs to your store's import list. Use after product selection, before syncing to Shopify/WooCommerce.
Instructions
Stage 1-50 Hertwill products into the authenticated store's import list in a single batch. Pass up to 50 product IDs in a single call. Do NOT call this tool in a loop for individual products. Do NOT use before the user has chosen products (use search_products or list_products) or to push staged products to the store (use sync_products). Returns {added, skipped, import_list_size}. Requires HERTWILL_API_KEY.
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_ids": "<product_ids>"
},
"name": "add_to_import_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_ids | Yes | Array of Hertwill product IDs (1-50) |