Getting each item sales quantity to place into MySQL DB

image

When using the ‘Search Orders’ function Square\Models\SearchOrdersRequest, I can only get back OrderId and LocationId as my output.

I am using the code from this link: