CartCoupons
CartCoupons class.
Description Description
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Routes/CartCoupons.php
Methods Methods
- get_args — Get method arguments for this REST route.
- get_path — Get the path of this REST route.
- get_route_delete_response — Deletes all coupons in the cart.
- get_route_post_response — Add a coupon to the cart and return the result.
- get_route_response — Get a collection of cart coupons.
- prepare_links — Prepare links for the request.