Before you migrate your WooCommerce order data to HPOS do this logging task.
Using the technique detailed in this video you will be able to see if there are any incompatible services accessing your order data BEFORE you migrate to HPOS.
Capture the issues before you migrate your data.
Video
Legacy Endpoints
The WooCommerce Legacy REST API endpoints are part of the older version of the WooCommerce API. These endpoints allow developers to interact with a WooCommerce store via HTTP requests. The base URL structure for these endpoints follows a standard pattern:
Version 1 (v1) Legacy API
- Base URL:
/wc-api/v1/
- Example URL for Products:
https://yourstore.com/wc-api/v1/products
Common Endpoints for All Versions:
- Products:
/products
- Example:
https://yourstore.com/wc-api/v3/products
- Orders:
/orders
- Example:
https://yourstore.com/wc-api/v2/orders
- Customers:
/customers
- Example:
https://yourstore.com/wc-api/v3/customers
- Coupons:
/coupons
- Example:
https://yourstore.com/wc-api/v3/coupons
- Reports:
/reports
- Example:
https://yourstore.com/wc-api/v3/reports
You can append any of the endpoints like /products
, /orders
, etc., to the base URL to perform specific actions (GET, POST, PUT, DELETE) depending on your requirement.
Note: WooCommerce REST API has moved to a newer version since WooCommerce 3.5, using /wp-json/wc/v3/
format for the current API.
Wrap Up
Implement this logging plugin and capture a couple of days with of API data BEFORE migrating to HPOS
If you need help migrating your site to HPOS get in touch.