Create a collection and add it to an array

Hi! I’m trying to create an array with the items from a Shopify order plus a manually created item for the shipping cost. In Shopify, the order has a Line Items array with the products, and the shipping cost is found separately in the Shipping section.

• 1. First, I have the array of items which includes: Item ID, price, Quantity, and Tax[].

  1. Then I create a JSON with Item ID = 57, Quantity = 1, and Price using the shipping value from Shopify. But in the output, it seems like the structure is not being recognized as a collection.

  2. My idea was to create a variable using the add() function like:
    add(Main array; shipping item from step 2)
    But I can’t find the created shipping item as a proper array or collection, so I think I’m doing something wrong and it’s not being created the way I need.

Thanks in advance for the help :slight_smile: