sync_products
Sync a single staged product to Shopify or WooCommerce with a markup multiplier. Requires product ID and markup. Product must be staged in the import list before use.
Instructions
Trigger a Shopify or WooCommerce sync for one product already staged in the import list, with a specified markup. Use to push a single staged product to the connected store. Do NOT use to check sync progress (use get_sync_jobs); if the product isn't yet staged, call add_to_import_list first. Returns {sync_job_id, product_id, status: "queued", markup_applied}. 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_id": "<product_id>",
"default_store_markup": "<default_store_markup>"
},
"name": "sync_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | Product ID to sync | |
| default_store_markup | Yes | Markup multiplier (e.g. 2.0 for 100% markup) | |
| currency | No | Target currency code | |
| lang | No | Target language code |