BIG-22366
BIG-22366

Evaluating these if statements in the wrong priority order meant that
we were always returning the count path for the subresource storewide
if count was implemented at all. Now we correctly check for a parent ID
and return the correct path if present.

bigcommerce/bigcommerce-api-python,hockeybuggy/bigcommerce-api-python