-
-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented IPaginatedResult for supported endpoints #477
Commits on Dec 19, 2020
-
This enabled usage of pagination for orders and products.
No original work here. It´s basically what @YourWishes suggests in #288. Could and should be extended throughout the api for lists. Usage example: ``` const orderList: IOrder[] = []; const orderStatus = 'any'; let params = { status: orderStatus, limit: 250 }; do { const orders = await shopify.order.list(params); for (const order of orders) { orderList.push(order); } params = orders.nextPageParameters; } while (params !== undefined); console.log(`after while loop len:${orderList.length}`) ```
Configuration menu - View commit details
-
Copy full SHA for 5e3ca77 - Browse repository at this point
Copy the full SHA 5e3ca77View commit details
Commits on Dec 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 375bfb3 - Browse repository at this point
Copy the full SHA 375bfb3View commit details
Commits on Jan 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bf13260 - Browse repository at this point
Copy the full SHA bf13260View commit details
Commits on Mar 31, 2021
-
This enabled usage of pagination for orders and products.
No original work here. It´s basically what @YourWishes suggests in #288. Could and should be extended throughout the api for lists. Usage example: ``` const orderList: IOrder[] = []; const orderStatus = 'any'; let params = { status: orderStatus, limit: 250 }; do { const orders = await shopify.order.list(params); for (const order of orders) { orderList.push(order); } params = orders.nextPageParameters; } while (params !== undefined); console.log(`after while loop len:${orderList.length}`) ```
Configuration menu - View commit details
-
Copy full SHA for 3f81386 - Browse repository at this point
Copy the full SHA 3f81386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45928df - Browse repository at this point
Copy the full SHA 45928dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e94db - Browse repository at this point
Copy the full SHA 93e94dbView commit details -
Merge branch 'master' of https://github.com/metasloth/Shopify-api-node
Sam Hemann committedMar 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 1957eba - Browse repository at this point
Copy the full SHA 1957ebaView commit details -
Added paginated result types for supported operations
Sam Hemann committedMar 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 8a646f8 - Browse repository at this point
Copy the full SHA 8a646f8View commit details -
Added missing fields on IPayout
Sam Hemann committedMar 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 3672667 - Browse repository at this point
Copy the full SHA 3672667View commit details -
Sam Hemann committed
Mar 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 86c348a - Browse repository at this point
Copy the full SHA 86c348aView commit details -
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a03c76a - Browse repository at this point
Copy the full SHA a03c76aView commit details -
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1bbb881 - Browse repository at this point
Copy the full SHA 1bbb881View commit details -
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1f155e0 - Browse repository at this point
Copy the full SHA 1f155e0View commit details -
Wrapped code to adhere to prettier settings
Sam Hemann committedMar 31, 2021 Configuration menu - View commit details
-
Copy full SHA for 767f8e7 - Browse repository at this point
Copy the full SHA 767f8e7View commit details -
added checkout paginated response
Sam Hemann committedMar 31, 2021 Configuration menu - View commit details
-
Copy full SHA for b7a86b1 - Browse repository at this point
Copy the full SHA b7a86b1View commit details