Helper functions to communicate with the WooCommerce REST API's coupons endpoints.
These functions need authentication by consumer_key
and consumer_secret
.</br>
https://woocommerce.github.io/woocommerce-rest-api-docs/#coupons
Helper functions to communicate with the WooCommerce REST API's coupons endpoints. These functions need authentication by `consumer_key` and `consumer_secret`.</br> https://woocommerce.github.io/woocommerce-rest-api-docs/#coupons
(coupons-batch-operations {:keys [url consumer_key consumer_secret body
exception insecure]})
CRUD multiple coupons in a batch.
CRUD multiple coupons in a batch.
(create-coupon {:keys [url consumer_key consumer_secret body exception
insecure]})
Create coupon(s).
Create coupon(s).
(delete-coupon-by-id {:keys [url consumer_key consumer_secret coupon exception
insecure]})
Delete a coupon by the coupon's ID.
Delete a coupon by the coupon's ID.
(get-coupon-by-id {:keys [url consumer_key consumer_secret coupon exception
insecure]})
Retrieve a coupon by the coupon's ID.
Retrieve a coupon by the coupon's ID.
(get-coupons {:keys [url consumer_key consumer_secret exception insecure]})
Retrieve all coupons.
Retrieve all coupons.
(update-coupon-by-id {:keys [url consumer_key consumer_secret coupon body
exception insecure]})
Update a coupon by the coupon's ID.
Update a coupon by the coupon's ID.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close