df=pd.DataFrame(response.json()[resource])
orders=pd.concat([orders,df])
last=df[‘id’].iloc[-1]
if len(df)<250:
break
return(orders)
df = get_all_orders()
@All members, I’m using above function to get the orders and products data from website but I’m only able to get 50 records for each, Is there any changes required?