1- Is there a way to limit my customer to request maximum 50 products ?
2- After my Jq filter,the first product appears twice ( in result and in resultlits), why ?
{
"result": {
"prod": "ABC",
"netavail": 500,
},
"resultList": [
{
"prod": "ABC",
"netavail": 500,
},
{
"prod": "DEF",
"netavail": 500,
},
{
"prod": "FGH",
"netavail": 0,
}
]
}