Skip to content

Documentation

WooRewards

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

Points and rewards systems info

 

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 : 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).
Was this article helpful to you? Yes No
Scroll To Top