store_add_products

Add one or more master products to a store (additive).

Appends products to the store WITHOUT unpublishing the existing set. Idempotent on master_product_id — rows already published return was_already_published=true. Soft-deleted rows are restored in-place. Optional markup_percent / price_override_cents apply to ALL ids in this call.

Request

arguments
{
  "slug": "string",
  "product_ids": "uuid[]  // 1-50",
  "markup_percent": "number?  // 0-500",
  "price_override_cents": "number?  // ≥ 0"
}

Response

content[0].text (JSON-parsed)
{
  "added": [{ "product_id": "uuid", "store_product_id": "uuid", "was_already_published": "boolean" }],
  "errors": [{ "product_id": "uuid", "error": "string" }]
}

Example

tool call
{
  "name": "store_add_products",
  "arguments": {
    "slug": "bravo",
    "product_ids": ["b1a4c4ba-…", "c2b5d5cb-…"],
    "markup_percent": 60
  }
}

Related tools