Hi,
I’m new to Square and its APIs.
As I’m running the guide to get started, I’m wondering what is the point of the List Merchants API?
My understanding is that it always returns a singleton list with the merchant associated with the given access token.
Similarly, the Get Merchant API accepts a merchant_id parameter but my understanding is that it can only accept the id of the merchant associated with the given token, which is the same as passing ‘me’ for the parameter.
So it all sounds unnecessarily complicated ways of fetching the same data.
Am I missing something?
You are correct in your findings. While its plural which implies that more than one can be returned our public API offering of the endpoints at this time only returns one merchant.
We currently don’t have a public roadmap for what’s in store for our APIs at this time.