Hello,
I had a few questions regarding the responses from the GET merchant/all endpoint and from the GET merchant/{merchant_id}. Overall goal is determine when a merchant is be available for ordering.
Questions on GET /merchant/all endpoint:
1. How are merchants that are permanently no longer available (i.e., permanently closed) handled? Would they simply not be returned in the response or is there a flag for this?
2. Are there any other cases where a merchant that was previously being returned but no longer being returned? If so, what are those cases?
Questions on GET /merchant/{merchant_id} endpoint:
3. In the merchants response -> 'ordering' hash -> 'availability' hash, is the 'active' value dependent on business hours? For example, if the store isn't opened yet for the day would this be false? How are temporary closures (e.g., closed because of repairs) handled?
4. Also in the 'availability' hash, what is the difference between 'pickup' and 'pickup_supported'? Is 'pickup_supported' whether or not it's supported overall, and 'pickup' whether it's currently available?
Thank you,
Cindy