Arrays in collections : How to iterate

Hi,

I get orders through API requests. The data i get is coming back with arrays in collections.
This is very confusing and cannot find a way to iterate all items of an order because SKU/QUANTITY are arrays. How should I deal with that ?


Here is how I iterate orders

To get the value from an array like SKU, which has a single value, you can use the built-in function first

For more information, see the function documentation in the Help Center.

2 Likes