-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is it possible to use this for orders instead of product? #8
Comments
Could you give some examples? I'm not sure what you are asking. |
Oh, you mean being able to add and view custom fields on orders as well as products? I should think it could be extended easily enough to support that. It might be worth looking closer at the latest WC API, as that seems to be changing and advancing on each release. Also the next version of WC will have its own [very similar] API. I have not looked into that API, but it may be able to provide access to custom fields on any post type, avoiding the need to extend the WC API. It would be nice if both APIs could use the same end-point and authentication methods. |
thanks for the response. do you have any idea how to make a custom endpoint for woocommerce? or atleast point me in the right direction. thank you again, basically I have a custom logic for an endpoint for woocommerce orders. |
Use the new v2 REST API (WC 3.x) instead of this plugin. It now does everything this plugin does out of the box. The README gives some examples of how you would manage the metadata fields. It also covers orders, customers, reviews and a host of other WC data. |
No description provided.
The text was updated successfully, but these errors were encountered: