Yes, same doubt. As the serial number of each item like milk, carrot is not printed, it cannot be assumed as integer if serial number is a combination of numbers, letters or alpha numeric characters.
Since, serial number is not specified, i also feel string is a safer data type to choose.
Had serial number of each item been printed as numbers on card, then integer is correct. Since, nothing is printed, it should be string. Please clarify.