Dear all,
I have input file like the sample attached which each row have "barcode", "price" and "ID" what I want is to design a workflow that take this input and generate for each row a code like below one:- Note that the bold one must be repeated inside the code like in the sample file I have 75 rows so the bold one in the code will be repeated 75 times and in each time will take the data of the barcode, price and quantity from each row.
{
"skin": "weborder",
"establishmentId": 1,
"items": [
{
"barcode": "****",
"price": **,
"quantity": **
},
],
"orderInfo": {
"dining_option": 109,
"asap": true,
"customer": {
"phone": "0000011112",
"first_name": "**",
"last_name": "Auto-poster",
"email": "**"
},
"call_name": "Paid-Orders",
"call_number": 909080
},
"paymentInfo": {
"amount": "0.00",
"type": 7,
"transaction_id": "909080"
},
"discounts": [
{
"barcode": "MMD22",
"amount": **
}
]
}