Methods to earn points
This documentation is for the WooRewards plugin
Use this API route to get all the methods to earn points in a points and rewards system. It requires only the general reading permission.
GET
/wp-json/woorewards/v1/pools/<pool_id>/methods
Available parameters
Response
The JSON response is an array of earning method objects. Each object contains at least the following properties:
Error cases
A 404 error is raised if the points and rewards system identifier cannot be found.