Delete a virtual coupon

DELETE: /wp-json/coupons/v1/virtualcoupons/‌{virtual_coupon_id}

Requirements:

  • Logged-in user

  • user role with manage_woocommerce user capability

Method

Endpoint

DELETE

/wp-json/coupons/v1/virtualcoupons/‌{virtual_coupon_id}

Query Parameters

Required

Type

Default

Description

​date_format

​no

​string

Date format of virtual coupon response date values.

Last updated