They surpassed the previous record of 263-5, set by Royal Challengers Bangalore in 2013
The Real Sociedad forward snatched the only goal of the game in the 14th minute after Switzerland tried to play the ball out from the back but failed miserably, leaving Oyarzabal with a simple finish.
Barcelona's teenage sensation Ansu Fati and Oyarzabal spurned further chances as Luis Enrique's side failed to add to their lead.
Spain lead League A Group 4 on seven points from three games, two points ahead of Germany, who beat Ukraine 2-1.