As it turns out, it’s only possible to query the orders after a certain time with the legacy v3 WooCommerce REST API with the filter[updated_at_min]
parameter, not with the new v3 WooCommerce REST API.
I also want to query the customers who recently updated their data, which is impossible with any versions of the WooCommerce REST API to my knowledge.
It’s possible to extend the WooCommerce REST API, but I’m fed up with the limitation and slowness of the REST API, and I also dislike PHP, so I’ll probably end up directly querying the WordPress MySQL database from our ERP that uses node.js.
This post describes the related MySQL tables quite well.
Related Posts:
- Is the WordPress REST API installed and enabled in a vanilla WordPress 4.7 installation?
- check the requesting url
- WP REST API Require Password for GET Endpoint
- Getting user meta data from WP REST API
- WP REST API V2 – Retrieve sub page by full slug (URL/Path)
- Increase per_page limit in REST API
- Can’t send emails through REST API
- WP REST API: check if user is logged in
- How to login to WordPress site using basic authentication HTTP headers?
- Adding post fields in wp-json/wp/v2/search
- Unable to get the info of the user which doesn’t have created any post via REST API
- WordPress Gutenberg get page template value when post updated?
- WP Rest API convert permalink to post ID for fetch
- Can’t GET draft posts via REST API from headless frontend
- How to update custom meta fields with rest api?
- Formating content rendered from wordpress REST API as JSON and not HTML
- Rest API and Custom Fields
- How to filter users on custom meta fields in WP JSON v2?
- How can I return an image from a custom REST API endpoint?
- WordPress REST API, Expired Nonce from Cache results in 403 forbidden
- WP Rest API: Get User by Email
- Gutenberg Custom Block Getting All Posts
- Check Password Strength using WordPress API
- Send request to WordPress REST API
- Request to REST endpoint works fine in browser and curl, but fails from WP_REST_Request
- WP REST api.wordpress.org discovery
- Rest API in integration tests – filtering by slug not working?
- How to hook into “register_rest_field” to modify the behavior of a custom field?
- How do you format the set_body option for WP_Rest_Request?
- Get all PDF files from page with WordPress API
- current_user_can(‘administrator’) returns false when I’m logged in
- How to add / embed an author into REST data from a custom post type?
- featured image not found in json from wp rest api
- How to enable the view of revisions of post in WordPress Api for custom post type?
- Problem on creating custom endpoints for REST
- New user signup via REST API
- is it possible to filter a rest api endpoint by using a registered rest field?
- rendering view in backbone
- Update a post based on results from GET request to another server
- WP REST API can’t set post tags
- Manipulating/view postmeta remotely
- WP API post__not_in is not working
- Check authentication credentials using WP REST API
- WordPress REST API V2: how to get list of all posts?
- Getting 401 from ajax using an application password
- How to connect android app with WordPress website?
- WordPress REST API calls that depend on the WordPress User
- Sidebar endpoint using WordPress API
- How to get data from /wp-json/wp/v2/users/me
- Get custom posts in gutenberg block
- WordPress REST API parameters are not affecting a response
- Getting 401 (access denied) when trying to use the REST API
- Update meta_value in wp_postmeta using API
- WordPress plugin with CORS
- WordPress REST API not working on localhost
- User following system via REST API
- REST API – Allow /users endpoint depending on a custom capability
- “Error: cURL error 60: SSL certificate problem: certificate has expired” when create product in WooCommerce via REST API
- 403 Error When Fetching Data from the Settings Rest Route for Non-Admin Users
- How to use WordPress REST api to login a user?
- REST API post times out when content is too large
- Can I overwrite default WordPress Json API For no more pages text
- Secure WordPress API, how?
- Create User with Profile and Cover Images using REST API
- Wrong encoding of dynamic block properties problem when loggen in as editor
- Media gallery images url instead of ID on WP API
- What’s the right way to validate JSON data coming from an AJAX POST request?
- Remove unwanted fields from WP API response
- Need wp rest api for featured video post
- WordPress and React how to integrate? [closed]
- WordPress API “code”:”rest_no_route” with Custom Route
- Using WordPress solely as a Backend – dealing with WP_SITEURL
- WordPress Update Role using API Cross site
- Rest API. Post content
- Error rest_post_invalid_page_number trying to call Rest API
- Is it possible to combine two rest endpoints in the url?
- use WordPress Rest API to build a web application
- REST Request Post including meta/custom fields
- Why wp_set_password not working within a api endpoint?
- WordPress api returns distinct data
- Redefine REST API variables
- How to use WordPress rest API with Angularjs 4 [closed]
- Retrieve posts by page in wp rest api
- Where is the HTML content for my post in the API
- How to change WordPress api v2
- REST API Integration without user account?
- WordPress Rest API Escapes Returned URLs Forward Slash
- WP_REST_Request::get_json_params() Parsing null as Zero
- WP REST API with Basic Auth at target website
- API request forbidden when requesting from same domain
- Custom WP Rest API Endpoints from JSON Schema
- Get custom data from the user REST API endpoint
- Custom rest api endpoint response json problem
- How can I set the default ‘orderby’ and ‘order’ parameters for a REST API call?
- JS WordPress API fetch no response headers
- Woocommerce API for calling products by Category ID
- Rest API nonce is being cached
- WordPress custom endpoint returns Security violated
- custom REST endpoints and application passwords
- wordpress rest api authentication failed