WooCommerce-REST-API-Client-Library
WooCommerce-REST-API-Client-Library copied to clipboard
Using response object
I'm using the API to create a coupon, but I am wanting to add additional meta fields to the coupon after creation. I'm wondering what the best practice for pulling out the post ID from the response would be.