How to apply coupons for a new order via WooCommerce REST API v2
-
How to apply coupons for a new order via WooCommerce REST API v2?
I’ve tried:"coupon_lines"=>array( array( 'id'=>'18', 'code'=>'off-12', 'type'=>'percent', 'amount'=>'12.00' ) )
the above code does not work !
I’ve tried:"coupon_lines"=>array( array( /* 'id'=>'18',*/ 'code'=>'off-12', 'type'=>'percent', 'amount'=>'12.00' ) )
OOPS!
it does not work yet!How to do with it?
Anyone help?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to apply coupons for a new order via WooCommerce REST API v2’ is closed to new replies.