Retrieve a virtual coupon
GET: /wp-json/coupons/v1/virtualcoupons/{virtual_coupon_id}
Requirements:
Logged-in user
user role with
manage_woocommerce
user capability
Method
Endpoint
GET
/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.
context
no
string
edit
Context of data being fetched: view
or edit
Last updated
Was this helpful?