Hi,
I have been struggling to get something to work for 3 weeks now and I thought it would be easier to ask the group as due to time zones, support is not really working for me and my understanding of Xano.
I am trying to pass an array of data to a patch request. The data will include the id and a deduction amount to allow me to update a quantity figure. I currently have the following:
Get All Raw Input as Data
For Each Loop On Data as Item
Get Record from Stock (this is inside the loop)
Subtract Number using Stock.Quantity -= Data.Deduction (this is inside the loop)
Patch Bulk Records
Although this seems to work with 1 input in the array, if I add the second input within the array then only the second entry is updated in the database.
Any pointers?
Thanks
Kevin