woocommerce_create_product_variation
Create new product variations in WooCommerce by defining specific attribute combinations with custom pricing, inventory, and SKU details.
Instructions
[UNIFIED] Create a new variation for a variable product. Defines a specific combination of attributes with its own pricing and inventory.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| product_id | Yes | ||
| attributes | Yes | ||
| regular_price | No | ||
| sale_price | No | ||
| stock_quantity | No | ||
| stock_status | No | instock | |
| manage_stock | No | ||
| sku | No | ||
| description | No | ||
| image | No |