Bulk Edit Products
sirv_bulk_edit_productsApply one change—status, fields, or linked assets—to multiple products in a single call, or delete up to 25 products; use for bulk edits instead of individual product updates.
Instructions
Make one change to many products in one call. action picks the change:
updateStatus: set
statuson every product inproductIds.updateFields: set
fields(brand, productCategory, description, status, tags) on every product. WithtagModemerge the tags are added; with replace they take the place of the old tags.linkAssets: link
assetIdsto every product, with an optionalrole. A main role takes one asset.delete: delete up to 25 products. Products have no trash, so this cannot be undone: ask the user first.
Use it for several products. For one product, use sirv_update_product or sirv_delete_product.
For products linked to Shopify, Studio also sends status and field changes to the store in the background when your role may publish to Shopify. Products that you may not change are skipped and listed in denied. Returns how many products changed.
Credits: free.
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": {
"action": "<action>"
},
"name": "sirv_bulk_edit_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | For linkAssets: the images' role. main takes one asset | |
| orgId | No | Workspace id from sirv_list_organizations. Default: the workspace you signed in to | |
| action | Yes | The change to make to every product | |
| fields | No | Needed for updateFields: the fields to set on every product. Fields you leave out stay | |
| status | No | New status. Needed for updateStatus | |
| tagMode | No | For updateFields with tags: merge adds the tags, replace swaps the old tags for these. Default: merge | merge |
| assetIds | No | Ids of the library assets to link, up to 100. Needed for linkAssets | |
| productIds | No | Ids of the products to change, from sirv_list_products. At most 25 for delete |