$array = []; //[{id: 342, category_id: 135, category_title: Кроссовки, vendor_code_1c: 100-100-102, vendor_code: 0002, title: Nike Summer, text: Летняя модель кроссовок Nike 2021 года, brand: Nike, normal_price: 8000, discount_price: 6500, material: Резина}, {id: 361, category_id: 135, category_title: Кроссовки, vendor_code_1c: 333-333, vendor_code: 0011, title: 333-333, text: 333-333, brand: 333-333, normal_price: 333, discount_price: 0, material: 333-333}]
// В синтаксисе массива ошибка, я исправлять не буду
$result = array_map(function($item){
$item['id'] = 'New ID: ' . $item['id'];
return $item;
}, $array);