
Blueberry syrup is blueberries or their juice cooked with sugar and water.
Sweetness and a pigment that changes: it turns pink-red under acid, so a sour on it comes out rosier than the bottle looks. Any dark-berry syrup behaves the same way; a liqueur brings alcohol and less color.
Blackberry syrup
Darker and a shade more astringent, the closest swap and the commonest mix-up on the shelf: it behaves the same way with acid and turns the drink pink just as readily.
Blueberry liqueur
Alcohol comes in and sugar drops, so both need resetting, and there is less pigment in it too; the glass ends up paler.
Sealed, a commercial bottle is good for months. Homemade holds a week or two chilled, and clouding is the first thing you will notice.