Points Actions
Points Actions
Knowledge Base
-
WooRewards
0
- MyRewards (Free Version) 5
- Getting Started 2
- Tutorials 4
- Features 12
-
Actions
23
- Spend Money
- Place an order
- Place a first order
- Buy Specific Products
- Buy in categories
- Product Review
- User registration
- Birthday
- Visit a post, page or url
- Send a referral email
- Referee registration
- Referee spends money
- Referee Orders
- Referee buys products
- Referee buys in categories
- Share on social networks
- Visitor clicks a social share
- Receive Badges
- Registration Anniversary
- Post a comment
- Click an image
- Publish a post
- Recurrent Visit
- Rewards 11
- WooCommerce Display 4
- Emails 7
- Shortcodes 7
- API 8
- Developer Resources 2
-
Add-Ons
12
- The Newsletter Plugin Subscription
- MC4WP Mailchimp subscription
- Points and Rewards System Limitation
- Referrals Information
- Points History Excel Export
- Points for Coupon
- Settings Migration
- Subscription Coupon Reward
- Partial Refund Reward
- The Scheduler
- Delayed and Recurring Points
- Points Synchronization
- Play Together 2
- Translations and WPML 2
- Changelog 1
- Knowledge Base
- WooRewards
- API
- Points Actions
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
- Id : Description
- pool_id : (string) – The points and rewards system identifier.
Response
The JSON response is an array of earning method objects. Each object contains at least the following properties:
- Id : Description
- id : The method identifier to use for future references.
- gain : The amount of points added when the method is triggered.
- title : The public method title.
- description : The custom method description (if any set by the administrator).
Error cases
A 404 error is raised if the points and rewards system identifier cannot be found.
Continue reading
Previous: Points and Rewards Systems Info
Next: Rewards
In this article