Tools Catalog / WooCommerce tools / wc_batch_update_variations

wc_batch_update_variations tool reference for StifLi Flex MCP

Write
Group Products and variationsCapability edit_products

batch updates multiple variations of one variable product in a single operation.

Description

batch updates multiple variations of one variable product in a single operation.

What it is for

  • Applying bulk price or stock changes across many variations.
  • Running controlled updates and later rollback with a second batch payload.

Example use case

seasonal size update.

Sample prompt

Batch update these variation IDs for product ID 410 to adjust sale prices and stock quantities for the campaign.

Sample response

{
  "tool": "wc_batch_update_variations",
  "status": "ok",
  "updated": true
}

What does wc_batch_update_variations do?

batch updates multiple variations of one variable product in a single operation.

Does wc_batch_update_variations modify store data?

Yes. It is a write operation and can create, update, or delete data depending on arguments.

Which capability is commonly required?

It usually runs under controls compatible with edit_products and the active MCP profile.

How should wc_batch_update_variations be used safely?

Enable write confirmations, test in staging first, and keep changelog/rollback enabled.