Comments (6)
Any help/advice?
from woocommerce-rest-api-client-library.
+1
from woocommerce-rest-api-client-library.
SQL query to get all OrdersID for given ProductID:
SELECT order_id FROM wp_woocommerce_order_items
WHERE order_item_id in (SELECT order_item_id FROM wp_woocommerce_order_itemmeta
WHERE meta_key='_product_id' and meta_value=$Product_ID)
from woocommerce-rest-api-client-library.
coming in WC 2.4, we'll update the client library with that endpoint when it's released :)
from woocommerce-rest-api-client-library.
This endpoint seems to only exist in the legacy files. Is this feature no longer supported?
from woocommerce-rest-api-client-library.
When I logged this issue, it was pertaining to Legacy v1 of the API. That's now deprecated you can find the latest version here: http://woothemes.github.io/woocommerce-rest-api-docs/. You can get all orders using this end point: http://woothemes.github.io/woocommerce-rest-api-docs/#list-all-orders, but I'm not sure if that will allow you to filter by product id. I'm no longer using WooCommerce, so beyond that I can't help too much. Best of luck!
from woocommerce-rest-api-client-library.
Related Issues (20)
- how to insert returened data in sql server?
- Invalid JSON
- exclude category from list all categories
- how to get woocommerce data into android application
- how to pass parameters in services
- uncaught in promise error consumer key is required error.consumerKey is required at new Woocommerce API(localhost:8100/build/vendor.js HOT 2
- Works for Legacy API, but for latest version it gives Invalid Json Returned using example.php file provided with response code 200 HOT 1
- Return 10 porducts HOT 2
- Trying to get list of orders but throws exception
- woocomerce REST-API
- creating custom post & response
- get error "The use statement with non-compound " on example
- uncaught in promise error consumer key is required error.consumerKey is required at new Woocommerce API(localhost:8100/build/vendor.js
- How to get nonce
- getting error while creating product using google drive links for images. HOT 1
- woocommerce plugin
- create custom field for order
- Help me I want rest app
- Help me
- Store timezone info?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woocommerce-rest-api-client-library.