e commerce - Get API key and secret key via Shopify API?
I'm a beginner Shopify developer. I would like to create my application for Shopify store (not private). I want to show api_key and secret_key after installation plugin by merchant. I viewed a lot of tutorials and all of them looks like get this values from nothing. That's why I want to know the answer on 1 question:
1) Is it possible to retrieve from Shopify API api_key and secret_key for application?
I'll be very appreciate, if someone helps me with this issue.
You cannot retrieve your App's App key and Secret through a Shopify API call.
Those keys are used for authorizing your app to be able to gain API access on a particular shop. They are something particular to your app and you don't need an API call for it.
You can find those keys on your App listing on your Shopify Partner account.
This is confirmed by the Shopify API documentation (https://docs.shopify.com/api) where it doesn't mention you can do this.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.