How to Join dict as below
dict1 = [{‘item’: ‘SKU001’, ‘item_name’: ‘T-shirt’, ‘quantity’: 5.0},
{‘item’: ‘SKU003’, ‘item_name’: ‘Book’, ‘quantity’: 5.0},
{‘item’: ‘SKU005’, ‘item_name’: ‘Sneakers’, ‘quantity’: 5.0}]
dict2 =[{‘item’: ‘SKU001’,‘requested_qty’: 10.0}
{‘item’: ‘SKU005’,‘requested_qty’: 22.0}]
Output required
dictnew =[{‘item’: ‘SKU001’, ‘item_name’: ‘T-shirt’, ‘quantity’: 5.0, ‘requested_qty’: 10.0},
{‘item’: ‘SKU003’, ‘item_name’: ‘Book’, ‘quantity’: 5.0},
{‘item’: ‘SKU005’, ‘item_name’: ‘Sneakers’, ‘quantity’: 5.0, ‘requested_qty’: 22.0}]