Title: API Access
Last modified: January 5, 2021

---

# API Access

 *  Resolved [moonlightsoft](https://wordpress.org/support/users/moonlightsoft/)
 * (@moonlightsoft)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/api-access-3/)
 * Hi,
    is it possible to read the generated codes by WooCommerce REST API ? And,
   if possible, to set a coupon as used? We would like to read the codes while payment
   in our Point of Sale Software. If not, is it planned ? Best regards Markus

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [tomasz_bednarek](https://wordpress.org/support/users/tomasz_bednarek/)
 * (@tomasz_bednarek)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/api-access-3/#post-13875928)
 * Hi Markus
 * thank you for your message!
 * You may use WooCommerce API for them (they are available as other coupons):
    
   [https://woocommerce.github.io/woocommerce-rest-api-docs/#coupons](https://woocommerce.github.io/woocommerce-rest-api-docs/#coupons)
 * You may try to change the price to 0 (amount). The usage_limit is set to 1 (which
   is the lowest possible value, O is treated as infinite).
 * The usage_count is currently READ-ONLY so you may use the above method.
 * If you have further questions let me know.
 * Best regards,
 *  Plugin Support [tomasz_bednarek](https://wordpress.org/support/users/tomasz_bednarek/)
 * (@tomasz_bednarek)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/api-access-3/#post-13952004)
 * Hi [@moonlightsoft](https://wordpress.org/support/users/moonlightsoft/)
 * I presume that the previous steps were helpful (I mark the thread as resolved).
 * Let me know if you have any further questions – I will reopen the ticket.
 * Have a good day!
 * Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘API Access’ is closed to new replies.

 * ![](https://ps.w.org/flexible-coupons/assets/icon-256x256.png?rev=2329191)
 * [Flexible PDF Coupons - Gift Cards & Vouchers for WooCommerce](https://wordpress.org/plugins/flexible-coupons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-coupons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-coupons/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-coupons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-coupons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-coupons/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tomasz_bednarek](https://wordpress.org/support/users/tomasz_bednarek/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/api-access-3/#post-13952004)
 * Status: resolved