ecommerce_updateProductVariantsInBatchV1
Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant's existing prices in full. Returns the updated variants.
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/ecommerce-updateproductvariantsinbatchv1.md
What ecommerce_updateProductVariantsInBatchV1 does on Hostinger Api
AI agents use ecommerce_updateProductVariantsInBatchV1 to create or update resources in Hostinger Api, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Hostinger Api environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
store_id | string | Yes | The ID of the store that owns the product. |
variants | array | Yes | Variants to update in place by id, up to 100. Variants omitted from the list are left untouched. |
product_id | string | Yes | The ID of the product whose variants are being updated. |
Parameters from the server's own tool schema.
Why ecommerce_updateProductVariantsInBatchV1 is rated Medium
Modifies product variant data including inventory, prices, and tracking settings reversibly via batch update.
From the tool's definition Update existing variants in place by id, prices replace existing prices
Risk signalsHigh parameter count (11 properties)
Attacks that exploit this kind of access
The rule that runs ecommerce_updateProductVariantsInBatchV1 safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Hostinger Api, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For ecommerce_updateProductVariantsInBatchV1, this is the rule to start with:
ecommerce_updateProductVariantsInBatchV1 stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Hostinger Api, apply this rule, and every ecommerce_updateProductVariantsInBatchV1 call is checked against it from then on.
Questions about ecommerce_updateProductVariantsInBatchV1
Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant's existing prices in full. Returns the updated variants. It is categorised as a Write tool in the Hostinger Api MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
ecommerce_updateProductVariantsInBatchV1 accepts 3 parameters: store_id, variants, product_id. Required: store_id, variants, product_id. The full parameter table on this page comes from the server's own tool schema.
Register the Hostinger Api MCP server in PolicyLayer and add a rule for ecommerce_updateProductVariantsInBatchV1: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Hostinger Api. Nothing to install.
ecommerce_updateProductVariantsInBatchV1 is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the ecommerce_updateProductVariantsInBatchV1 rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for ecommerce_updateProductVariantsInBatchV1. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
ecommerce_updateProductVariantsInBatchV1 is provided by the Hostinger Api MCP server (hostinger-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Hostinger Api, and thousands of servers like it.
This server
Across the catalogue