Bulk create virtual coupons
POST: /wp-json/coupons/v1/bulk/virtualcoupons/
Requirements:
Logged-in user
user role with
manage_woocommerce
user capability
Method
Endpoint
POST
/wp-json/coupons/v1/bulk/virtualcoupons/
Query Parameters
Required
Type
Description
coupon_id
yes
integer
Coupon ID
count
yes
integer
Number of virtual coupons to be created. Max: 10000 per call.
Last updated