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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.