Has anybody been able to use the new V3 Api #625
-
Hi All, I was using V2 of the Api, but a certain feature wasn't working and the Etsy Developers confirmed it as a bug and suggested I go to V3. I've converter to try and use V3 but I can't get past 2 issues. The first is that getting receipts by shop id was fine in V2 as the shopId was a string usually your shop name. In V3 the changed it to an integer and when creating your shop there's no way of setting or seeing this. I was then told to use getShopByOwnerUserId again the same issue, userId is an integer which I cant set or see anywhere. After several emails to support I asked them if they have actually created a shop put a few fake orders in and then tested their Api and if so could they send the sequence of calls they have made to obtain any data. THey could not provide me with this information but instead directed me here. Can anybody give an example of the sequence of calls that need to be made to get a shop id or even find out what that id is. At the moment we are completely blocked. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
We have just implemented a new endpoint that you can call after a user authorizes your app: https://developers.etsy.com/documentation/reference#operation/getMe This will return the shop_id and user_id for the given authenticated user. |
Beta Was this translation helpful? Give feedback.
-
Just tried this, and it never returns from the call. I have raised a bug.
From: Andrew Christensen ***@***.***
Sent: 27 October 2022 23:37
To: etsy/open-api ***@***.***>
Cc: bilpor ***@***.***>; Author ***@***.***>
Subject: Re: [etsy/open-api] Has anybody been able to use the new V3 Api (Discussion #625)
We have just implemented a new endpoint that you can call after a user authorizes your app:
https://developers.etsy.com/documentation/reference#operation/getMe
This will return the shop_id and user_id for the given authenticated user.
—
Reply to this email directly, view it on GitHub <#625 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGIZXA7AWW4QIF36F4QSG5LWFL7Z7ANCNFSM6AAAAAARE5IUWY> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AGIZXA6XPPL5SWNHJKEL6RLWFL7Z7A5CNFSM6AAAAAARE5IUW2WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAHTKY6.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
I do not receive any response at all. If I go back to starting with the user id from the authentication, then every call I make after that works. For this particular call, I set all tokens etc in the header in the same way I set up all other get calls.
I can’t provide a curl call as I’m not using that. I am using C# I provided my call method which sets up the header before passing. We only have 1 user set up.
Kind Regards
Will
From: Andrew Christensen ***@***.***
Sent: 10 November 2022 14:44
To: etsy/open-api ***@***.***>
Cc: bilpor ***@***.***>; Mention ***@***.***>
Subject: Re: [etsy/open-api] Has anybody been able to use the new V3 Api (Discussion #625)
@bilpor <https://github.com/bilpor> Can you email the response headers from the api call? Or are you not even getting any response at all? Are you providing the bearer token in the call? Is this happening for every user or just a particular user?
—
Reply to this email directly, view it on GitHub <#625 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGIZXAZF7OGMH3MJU5HKA2TWHUCZRANCNFSM6AAAAAARE5IUWY> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AGIZXA5GL5TR4G4H5KDXNLTWHUCZRA5CNFSM6AAAAAARE5IUW2WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAH2X2I.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
visit etsy.com/shop/your_shops_name and copy the url of Contact button next to the envelope icon on the right. In this url there are multiple ids, one of them is the shop id you need for the api. It was the referring id in my case. |
Beta Was this translation helpful? Give feedback.
We have just implemented a new endpoint that you can call after a user authorizes your app:
https://developers.etsy.com/documentation/reference#operation/getMe
This will return the shop_id and user_id for the given authenticated user.