Open vnzhlv-zh opened 6 years ago
Hey there, it's definitely something we would add in the future. Unfortunately I don't have an ETA for this. For now we're still collecting feedback from users that started using the GET (read) endpoints that shipped in 1.11.0.
How would you like to see this implemented and what would you build if you had complete API support in Memberships? :)
Hello! Simple example, I have a list of members in excel. I need to parse data and import it into the database, programmatically.
WooCommerce Memberships already allows you to import members from CSV data, why can't you use that at the moment? https://docs.woocommerce.com/document/woocommerce-memberships-import-and-export/
The feature can be extended by hooks (action and filters) if needed.
Yes, I use it but would prefer API instead.
Understandable. By version 1.13.0 we plan to introduce other CRUD endpoints, at least for user memberships, to begin with. Probably plan endpoints will follow later.
Memberships 1.13.0 has been released today and the documentation has been updated right now.
It may take a little until 1.13.0 hits WordPress updates, and you may have to refresh caches to see the updated documentation at https://skyverge.github.io/woocommerce-memberships-rest-api-docs.
In a future update we will also extend full CRUD support to plans.
Are you planning to add create update delete features? If so, when?