Skip to content
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

Open
rustanacexd opened this issue Nov 19, 2015 · 4 comments
Open

is it possible to use this for orders instead of product? #8

rustanacexd opened this issue Nov 19, 2015 · 4 comments

Comments

@rustanacexd
Copy link

No description provided.

@judgej
Copy link
Owner

judgej commented Nov 19, 2015

Could you give some examples? I'm not sure what you are asking.

@judgej
Copy link
Owner

judgej commented Nov 19, 2015

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.

@rustanacexd
Copy link
Author

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.

@judgej
Copy link
Owner

judgej commented Aug 2, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants