Bulk delete virtual coupons

DELETE: /wp-json/coupons/v1/bulk/virtualcoupons

Requirements:

  • Logged-in user

  • user role with manage_woocommerce user capability

Method

Endpoint

DELETE

/wp-json/coupons/v1/bulk/virtualcoupons

Query Parameters

Required

Type

Description

coupon_id

yes

integer

Coupon ID

ids

yes

integer[]

Array of virtual coupon IDs

Last updated