I need to change value of my request parameter like this:
$request->name = \"My Value!\";
I use
If you need to customize the request
$data = $request->all();
you can pass the name of the field and the value
$data['product_ref_code'] = 1650;
and finally pass the new request
$last = Product::create($data);