Fetch all orders #493
Answered
by
logeshswell
bakerhaider
asked this question in
Help
-
hello i want to fetch all orders from the backend api but my code only return the orders based on the logged in user and not all orders? |
Beta Was this translation helpful? Give feedback.
Answered by
logeshswell
Feb 5, 2024
Replies: 1 comment 1 reply
-
Swell-js (Frontend API) fetches only the orders for the logged-in user, while swell-node (Backend API) returns all orders based on the given filters. https://developers.swell.is/frontend-api/account-orders#list-account-orders |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
logeshswell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Swell-js (Frontend API) fetches only the orders for the logged-in user, while swell-node (Backend API) returns all orders based on the given filters.
https://developers.swell.is/frontend-api/account-orders#list-account-orders
https://developers.swell.is/backend-api/orders/list-all-orders