Liking cljdoc? Tell your friends :D

wc-api-clj.v3.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

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
raw docstring

coupons-batch-operationsclj

(coupons-batch-operations {:keys [url consumer_key consumer_secret body
                                  exception insecure]})

CRUD multiple coupons in a batch.

CRUD multiple coupons in a batch.
sourceraw docstring

create-couponclj

(create-coupon {:keys [url consumer_key consumer_secret body exception
                       insecure]})

Create coupon(s).

Create coupon(s).
sourceraw docstring

delete-coupon-by-idclj

(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.
sourceraw docstring

get-coupon-by-idclj

(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.
sourceraw docstring

get-couponsclj

(get-coupons {:keys [url consumer_key consumer_secret exception insecure]})

Retrieve all coupons.

Retrieve all coupons.
sourceraw docstring

update-coupon-by-idclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close