Forum Academy Marketplace Showcase Pricing Features

Loop Array Data for API in raw

Hi All, I sending some API parameters using body type raw data. How do I loop through data “Items” dynamically in array from the application to send the data ?

{
“order”:“INV001”,
“Items”:[
{
“Sku”:“item12”,
“Qty”:1
},
{
“Sku”:“item34”,
“Qty”:1
}
]
}

You can use some JS function (Toolbox plugin) to generate the array object and pass into items list.

Oh yeah, its working.

Thank you @mani2726 for the help.