Import: Delete Products
delete_pre_publish_products[Import List Product]
[What it does] Permanently deletes 1-20 exact Import List products by import_item_id; it never selects products by keyword or filter.
[When to use] Call after the user reviews and selects exact products with list_pre_publish_products to remove; trigger words: delete import list product, clean up import list, remove pre-publish products.
[When not to use] To find or narrow removal candidates, use list_pre_publish_products first. This tool does not remove products already published to a store.
[How to use] Pass 1-20 exact import_item_ids copied from list_pre_publish_products. A successful response returns only the normalized import_item_ids submitted after Product BFF accepts the delete call; it does not provide per-item outcomes. If the outcome is unclear, re-check with list_pre_publish_products instead of retrying the delete.
[Side effects] Permanently removes products from the Import List; irreversible. Dispatch once.
[Confirmation] Requires user confirmation, skippable per policy; show the exact products before calling.
[Follow-up] If the outcome is unclear, verify which products remain with list_pre_publish_products.
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": {
"import_item_ids": "<import_item_ids>"
},
"name": "delete_pre_publish_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| import_item_ids | Yes | Complete set of one to 20 exact import-list item IDs approved in the user's latest explicit confirmation. Copy every ID from the latest list_pre_publish_products result and submit the set in one call. Use an array containing one ID for a single product. Paste JSON example: ["2085934367682592768"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| import_item_ids | Yes | Normalized import-list item IDs submitted to the acknowledged delete workflow | |
| toolcall_response_at | Yes | UTC timestamp when the Tool response was returned, formatted as RFC3339. |