The purpose of this SDK is to allow you to create Roles in WordPress / WooCommerce based on various customer segments in bLoyal.
This SDK allows customer Loyalty Program and Club memberships (active/loyalty-only status) to sync to WordPress in the form of user roles. If the user roles do not already exist in WordPress, the plugin will create them. From there, you may set up whatever you'd like in WordPress and/or WooCommerce tied to said roles. For example, you may want to release club-exclusive products or event tickets to active members only or create Member only sections on your website. You may simply make the page, or product private and then grant access to the user roles you specify.
Please note that Roles are updated only once at the time that the customer logs in to WooCommerce by leveraging the response in the Resolve API call made at that time.
NOTE: This is not a productized Plugin and is provided on an "as is" basis. You can also use it as an SDK to create your own if you prefer.
You may download it here: bLoyal Roles Plugin