WooCommerce · Arazzo Workflow
WooCommerce Create Product and Targeted Coupon
Version 1.0.0
Create a product, then create a coupon restricted to that product.
Provider
Workflows
create-product-coupon
Create a product and a coupon restricted to that product.
Creates a product, creates a coupon limited to that product, and reads the coupon back to verify the product restriction.
1
createProduct
createProduct
Create the product that the coupon will be restricted to.
2
createCoupon
createCoupon
Create a percentage coupon whose applicable products are restricted to the new product.
3
getCoupon
getCoupon
Read the coupon back to confirm the product restriction persisted.