How to process multiple entries throught For-Each Loop

Answered

Dear community,

I tried watch almost all your videos but still didnt found answer to my problem.

I need somehow pass multiple entries to my DB.

Xano look:

Example API input, but can be repeating of 10, 50 products for example:

[ {
    "name": "Reebok T-shirt Blue Women's S",
    "internal_code": "U5P9NM6BLU",
    "short_description": "Stylish and Lightweight design for everyday use.",
    "description": "This product offers exceptional quality and comfort. Made with premium materials to ensure durability. Made with premium materials to ensure durability. Designed for both everyday and sport activities. Available in a variety of sizes and colors to fit your style. ",
    "active": true,
    "barcodes": [
      "594814034450",
      "832237526785"
    ]
  },
  {
    "name": "Puma T-shirt Black Men's L",
    "internal_code": "9XBYXEXR4R",
    "short_description": "Comfortable and Lightweight design for everyday use.",
    "description": "Features innovative design to provide maximum performance. Made with premium materials to ensure durability. Made with premium materials to ensure durability. Designed for both everyday and sport activities. Available in a variety of sizes and colors to fit your style. ",
    "active": true,
    "barcodes": [
      "503480432315",
      "962256640084"
    ]
  }]

But I dont know, how to build a array from entries, to pass throught loop, even if this approach is correct by some best practices...

1
7 replies