Closed vakochetkov closed 3 years ago
Annotation. Category consists about 30 products and I need to retrieve them all with current program logic
I had to use pagination to fix the problem. Anyway, it seem to be very strange request with "per_page" return None with number more than total number of products!
Request like below
res = wcapi.get("products", params={"per_page": 50, 'category': id})
returns none ([]) but request without "per_page" works fine but returns only 10 itemsres = wcapi.get("products", params={'category': id})