Here are the key features of Bookly Rest API Plugin
- Get Subscriptions
- Filter Subscriptions
- Get Transactions
- Filter Transactions
Subscriptio Rest API URL: http://siteurl/wp-json/wp/v2/wpo_subscriptio/subscriptions
Filter Subscriptions based on Type: http://siteurl/wp-json/wp/v2/wpo_subscriptio/subscriptions?filter[type]=active
Valid types:
- pending
- active
- paused
- suspended
- cancelled
- failed
- trial
- overdue
- expired
Transaction Rest API URL : http://siteurl/wp-json/wp/v2/wpo_subscriptio/transactions
Transaction Rest API Filters :
Filter Transactionshttp://siteurl/wp-json/wp/v2/wpo_subscriptio/transactions?filter[type]=new_order
Valid types:
- new_order
- payment_received
- renewal_order
- suspension
- automatic_cancellation
- manual_cancellation
- order_cancellation
- order_refund
- expiration
- payment_due
- payment_reminder
- subscription_deleted
- subscription_pause
- subscription_resume
- address_changed
- date_change