Skip to content

WooRewards

  1. Home
  2. Docs
  3. WooRewards
  4. Features
  5. API
  6. Points and rewards systems info

Points and rewards systems info

This documentation is for the WooRewards plugin

This API route allows you to list all the points and rewards systems that have been created. It requires only the general reading permission.

GET
/wp-json/woorewards/v1/pools

 

Response

The JSON response is an array of points and rewards system objects. Each object contains at least the following properties:

  • Id : Description
  • id : The points and rewards system identifier to use for future references.
  • name : The public name of the points and rewards system.
  • points : The identifier of the points reserve (since several points and rewards system can share the same points reserve).
  • active : Is the points and rewards system currently active (on/off).
Scroll To Top