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.
- Create the product category that the variable product will belong to.
- Create a variable product assigned to the new category.
- Add a purchasable variation under the variable product.
- 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.