question

hangu avatar image
hangu asked bryanvargas commented

Integrating with multiple locations

Hi, I'm aware that a merchant ID is on a per location basis and that Oauth will give me a token that works for just 1 location. However, if a restaurant has multiple locations under one Clover account, how would they integrate for every location? Additionally, how is it determined which location will be integrated through Oauth if they have multiple under one account? As context, I'm trying to give instructions to restaurant owners to do this. Thanks!

OAuth
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bryanvargas avatar image bryanvargas ♦♦ commented ·


Each individual MID will have to go through OAuth to get their own accessToken to grant read and write access for that location. All APIs take 1 MID in the path params when making the call: i.e. /v3/merchants/{mID}

I would recommend having the restaurant download your app to all individual MID for you to be able to access their data.
0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community