Convert Etsy Shop Name To Numeric ID

Skip to first unread message

Golden Owl Admin

Jul 6, 2021, 1:21:16 PM7/6/21
to Etsy API
I updated to OAuth2. I use Google App Script.

All works fin. Only small issue, new routine requires shop ID as number, not as string as before. Eg getListingsByShop
Anybody know how to get this id programatically, or how to convert String name to number?

There is some tool in the web
And it do this. Therefore i think there is some way to do that using API.

Rachel Joss

Sep 14, 2021, 2:05:08 PM9/14/21
to Etsy API

You now have to make 2 calls, first to /application/shops?shop_name={SHOP_NAME}. Which will return the shop object with the shop_id. Then you can use the shop_id for other api calls.

Also, I see you are doing OAuth2 in Google App Script... I am having issues getting app script to work with Etsy API OAuth2. I am trying to setup a webapp and do a basic OAuth2 flow using the google OAuth2 library, but getting an error related to the state token. I was wondering since you have this working on app script if you can help me with the OAuth issue as I am a bit lost. I see the state token being passed with the same value in the authorization url and the callback. I would greatly appreciate it! Happy to converse via email if that works better for sharing code etc.

Golden Owl Admin

Oct 20, 2021, 1:04:30 PM10/20/21
Did you solved your question?

You received this message because you are subscribed to a topic in the Google Groups "Etsy API" group.
To unsubscribe from this topic, visit
To unsubscribe from this group and all its topics, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages