Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
PaulAndreas
New Member

power BI and Woocommerce

I am trying to access data from woocommerce using the rest api. usig the befor and after.

 

The problem is the page=100, is the maximum of records.

How do I get records back in time?

See the api setting under (where customer... is my customer name)

 

https://customer..../wp-json/wc/v3/orders?after=2022-01-01T00:00:00&before=2022-04-15T23:59:59&per_p...

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @PaulAndreas 

 

What do you mean page=100 is the maximum?  If there are only 100 pages of records then that's all there are.  I'm not sure what you are expecting?

 

What do you mean by get records back in time?  You are providing after and before in the query, if you want orders before those dates then change the date for after ?

 

List all orders – WooCommerce REST API Documentation - WP REST API v3

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Well what i mean ist that i cannot get more than 100 records in PowerBI. I wanted to have all the transaction in the database ( aproimately 32.000 in one year) If you know this solution please invite me to a teams meeting invite me paul.osuldsen@soprasteria.com

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.