Lighter API Response
I use the /orders/v2/ordersBulk on a daily basis, and would even love to use it more frequently, if only it weren't that heavy of a response...
On average, one day's worth of order data for one of our stores totals 4MB in JSON data, which is incredibly large. I don't use 90% of the response data, and I wish there was a way to specify which fields I would like returned, and I would likely end up with 400KB of a response.
I think this would not only make the endpoint more efficient for the user, but would likely save Toast a lot of resources it uses to join all sorts of data from several tables and serve that huge response.
Could we please see the introduction of a 'filter' parameter for which fields we get returned in our requests?
I am using the Beta version of your API with read-only access.
This post specifically talks about the https://ws-api.toasttab.com/orders/v2/ordersBulk endpoint but the argument is applicable to all endpoints.
Please sign in to leave a comment.
Comments
0 comments