Solenoid 3wire cable

I ordered a solenoid to be able to use pneumatics and it came with the cable that conects it to the brain but the cable stoped working and i need a new one, but the only way that it appears to be abailable is by buying a whole new solenoid and i dont want to spend that much money if i only need the cable. Does anyone know if there is a way to just get the cable?