Not sure this is the correct family although the brickmaking fits. See next post.
did james change his name to John? More searching to be done.

1871 RG10/3007/158/7
32 Hurst Hill Street Sedgley
Thomas Bates 45 head brickmaker
Sarah Bates 51
James son 16 labourer in ironworks
Sarah Ann dau 21 brickmaker
Sarah A Harvey 24, relative, tailoress
All born Sedgley
In 1861 Thomas and Sarah also have a son John aged 14 so born c1847.