Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Allow shop owners to just provide shop name instead of locate their own store ID. #17

Open
tw2113 opened this issue Aug 24, 2016 · 0 comments
Assignees

Comments

@tw2113
Copy link
Member

tw2113 commented Aug 24, 2016

Majority of the users we're going to get are not technical/devs by nature. We should not require anyone to have to view-source on anything to set up the necessary credentials for our plugin here. Creating the API key is going to be cumbersome enough, but that one I know we can't get around. What we can get around is retrieving the store ID.

I propose we move things to providing a field to provide the shop name. "EndlessSkys" for an example from the forums. What we do is use that, and make a request to the following API endpoint, and retrieve the store IDs ourselves.

https://openapi.etsy.com/v2/private/shops/?shop_name=EndlessSkys&api_key=FILLMEIN

From the returned results, we should be able to pluck out the appropriate ID, and save that to meta like we already would be with the CMB2 field.

After that, we carry on like we had been. I see enough issues come through related to the API requests, that we need to make it more straightforward.

@tw2113 tw2113 self-assigned this Aug 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant