Do not bother learning them until B2 level. Case endings are redundant is most cases assuming that your sentences are grammatically correct.
Use singular/plural noun in nominative form if you do not remember correct form. It is much easier for native speakers to deduce the right case than mentally fix serious spelling mistake.