capabilities.work

Create Variable Product with Variation

A 3-step recipe with WooCommerce. We can help you get access.

Recipe · 3 steps

Create Variable Product with Variation

with WooCommerce · Product Lifecycle Management

Create a variable product, add a variation, and confirm the variation.

  1. Create a product of type variable that will hold one or more variations.
  2. Create a variation under the new product with its own SKU, price, and managed stock.
  3. Read the variation back to confirm it persisted with the supplied SKU and price.
What you'll need to have ready
  • productName: Name of the variable product to create.
  • variationSku: SKU to assign to the variation.
  • variationPrice: Regular price for the variation as a decimal string.
  • stockQuantity: Optional stock quantity to manage for the variation.
For your developer

Arazzo workflow woocommerce:create-variable-product-with-variation, 3 operations: createProduct → createProductVariation → getProductVariation. Specs on APIs.io.