Issue in getting stores

Hi,
I am referring to https://docs.poynt.com/api-reference/index.html#businesses-get-businesses-businessid-getbusinessbybusinessid to get the business details. While in the docs it is mentioned that in the response stores will be there but sometimes on getting the response there is no stores Array in the response. Can anyone tell me that under what conditions do we not get the stores array?

Hi Vishal,

The list of stores associated with a business is not returned by default. You would need to do an additional HTTP GET request to /businesses/{businessId}/stores.