https://www.amazon.com/dp/B000H5S64K/ref=cm_sw_r_awdo_2ZVXBNVFN6VEDNQPBVAP Dap 12328 DryDex Spackling Interior/Exterior, 1/2-Pint
Get something like this from home Depot or wherever. Hit the scratches with it using a putty knife, wait until it turns pink, sand it, then paint it.