capabilities.work

Category, Variable Product, and Variation

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

Recipe · 4 steps

Category, Variable Product, and Variation

with WooCommerce · Product Lifecycle Management

Create category, variable product, and a variation, then confirm it.

  1. Create the product category that the variable product will belong to.
  2. Create a variable product assigned to the new category.
  3. Add a purchasable variation under the variable product.
  4. Read the variation back to confirm it persisted with its SKU and price.
What you'll need to have ready
  • categoryName: Name of the product category to create.
  • 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.
For your developer

Arazzo workflow woocommerce:category-variable-product-variation, 4 operations: createProductCategory → createProduct → createProductVariation → getProductVariation. Specs on APIs.io.