I'm trying to access Shopify Admin APIs through postman.
Tutorial says that
For Username and Password provide your store private API key and password respectively.
I do have the API key, however there is no password filed on my admin page? I tried finding some solutions online, however the screenshots mentioned in those solutions did contain a password filed on the admin page. My page does not have it. I only have API key & API secret key
There are two types of App in shopify, one is embeddedSDK and second one is private App. For the embeddedSDK you can you Postman, but for the private Its will not access through postman.
Thanks
There could be one of following reasons of not having password.
- You are logged in with diff. user or Not having admin access to app.
Your Store Password & Username may work in place.
- Make sure your app is in published state.
share more details in case still hanged with these buggy things.
From Using Postman - Shopify tutorial:
Once you have a Shopify store, you can quickly generate your API credentials using a private app.
You need to create a private app from your development or managed store - not in your partner account.
Click the link at the bottom of the apps page:
Working with a developer on your shop? Manage private apps
From there you can create a new private app to get your API key and password.
Related
I have a few questions regarding ShopifySharp package and Shopify Custom App and Private App.
It has a warning that says:
Some of your private apps and/or admin webhook subscriptions may not work as expected because they are using deprecated API versions.
It also has say, private apps need to be updated before January 1, 2023.
To give you an idea, we created an application in C# built using ShopifySharp. It has been working for years already. It has API Key, password, and domain to connect to, to get the essential data from. It's understandable. Now here comes the confusion. I created a new app in Shopify by clicking "Create an app" in the Settings, putting the name, etc. So, it now says it's a Custom App below the app name.
It made me confused because I don't know if I'm going to replace the old Private App with the new Custom App and use its credentials.
I also don't know if those credentials I am seeing is what I am going to put in my C# application, like the API key and secret key. I don't even know the use of "Admin API access token". I am new this Shopify thingy by the way but I have been developing and updating the C# app but I was just concern on the API key and password in the Private App.
I am also seeing Webhooks subscription default to "2022-10" but I don't know what to do with it.
I already asked the ShopifySharp maintainer but I am not satisfied with the answer. All I have to do it to change the https://myshop.myshopify.com/admin/api/2020-07 to https://myshop.myshopify.com/admin/api/2022-04? Is that all?
I am totally new to Shopify Public App development and I will need your help to understand it a bit better.
For a client, I need to build a Shopify Public App that will be used by several Merchants.
This application will have to access the Merchants' store via the Admin API.
If my understanding is correct, in order to access one specific Merchant's store via the Admin API, I need to have 3 pieces of information from that Merchant's store: the Public API Key, Token and URL.
Now, my question:
When the Shopify Public App is installed by a Merchant, how does my app get these 3 pieces of information (specific to that particular merchant) ?
Is there any "magic" trick? Does the Merchant need to input this info? ...
In advance, many thanks for your help
Each merchant will need to install your app. In the installation phase shopify will pass, as an argument, the access token, that is a token that you will need, to use the Admin API.
If we're talking about an embedded app is expected that every request made is authenticated.
Depending on which kind of app you want to create (embedded or not) and language you may want to use, using the Shopify Cli to create the first draft of the app is really reccommended. It will create the base to have an installable app. Here is the documentation https://shopify.dev/apps/getting-started/create
You need to install the Shopify Cli and then run
shopify app create (node | ruby | php)
depending on your language of choice.
For those who might be interested, I finally found the link to the information.
Shopify - Getting started with OAuth
What I want to do:
display videos from a client in a RN app. They keep them as private YT videos and only want to give access to paid users via a mobile app.
Apparently, after a few tests, an API key is not enough for that, as I get only the public videos.
I could get the private videos and playlists back using Oauth2 authentication, in Google OAuth2 playground.
Where I am lost is, how to programmatically get the authorization code, then the access and refresh token, on app startup, to attach them to the requests.
Every tutorial I find is about implementing it via the consent screen to authenticate a user.
I don't want to use a consent screen, I got the clients username/password already and just would like to authenticate in the background as the app starts.
Any good resources/tips out there to help me figure this out? Thank you.
We just launched a new Bigcommerce website API and I have a requirement to create an app for the same website. I wanted to begin with the authentication but I can't seem to find an API for logging in with username and password.
Is there a way I can call an API and pass username/email and a password and receive something like a token? If no, what is the best practice to make an app for Bigcommerce websites.
There are a few ways to get authentication.
Building a script that will not be used in the Control Panel or running a quick query in Postman.
You will need to get an API Key and Token from the Control Panel. This can only be created by the store owner: https://support.bigcommerce.com/articles/Public/Store-API-Accounts/
Creating an app for a single store or several stores: You will need a client id and a client secret. https://developer.bigcommerce.com/api/#app-registration
There is also the Customer Login API https://developer.bigcommerce.com/api/v3/storefront.html#storefront-api-apps. This is allows for single sign on so customers can programmatically be logged into their account on the BigCommerce Storefront.
I am trying to access the Shopify API from an external app that I am building (mobile). For example, I would like to access this API:
https://mystore.myshopify.com/admin/products.json
Of course I would need to authenticate my request first. So far everybody I asked (including Shopify support), suggested that the only way to access the data is through a Shopify App.
Can you suggest a way to do this?
I have found the answer. Follow these steps if you want to access the Shopify API from an external app:
Login to your store as an admin
Go to Apps
Create a Private App
Use the following pattern with every URL you create (I am using this to get all the orders)
https://:#.myshopify.com/admin/orders.json
The API Key and the password appear in your private app info page.