Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all 25503 articles
Browse latest View live

How to get and update storefront images by Ivailo Hristov

$
0
0

Hi,

How can I get all images in a site? For example the Debut theme has a hero image that is user configurable, but the admin Asset API does not return a referrence to this image. Is there a generic way to get a list of all images in a Shopify site? I will also need to be able to modify and replace each image with an updated version, is this possible?

Thanks!


Dima Bart commented on BUG: Access denied calling checkoutCompleteWithCreditCard from iOS App

$
0
0

Krist and Craig, I've updated your permissions. Arun, your store seems to be closed. You'll need to select a plan to continue. Ping me again here once everything is sorted and I'll updated your stores permissions.

redirect api redirect me to the oldest path even after update and delete by Deep yadav

$
0
0

I am working on redirect apis first I created a redirect for path https://onjection.myshopify.com/new-path and set the target /admin for this and its works very well. then I need to change the target path from /admin to / , after updating through update redirect api it is updated but taking me to the oldest path i,e: /admin. I checked about this thing and found that it can work if I delete the privous one and create new one for / so I delete the old and create a new redirect but still this is taking me to the /admin. can somebody help me into this? 

Ankit commented on Multi-Location Inventory API Questions

$
0
0

HI Busfox,

OK.

I see that this data is already available under Inventory History. Merchants can view which event has triggered the inventory change. 

It would be awesome if devs also get access to the vent source in the webhooks. Is there any timeline for when this will be available?

-Ankit

 

PROMeera commented on Sales channel visibility via API

$
0
0

We also need to control sales channels via the API. 


Shopify will you add this to your API please? If not why not?

I  have a custom app to list items on my Shopify and I can add all the information I want this way but can't set the visibility on sales channels other than Online and POS. 

Why oh why? 

Building customized Checkout using Storefront API by Marek

$
0
0

I'm building an Shopify App using Ionic and Storefront API.
Checkout at Step 1 ( Customer Information ) i need a Button to fetch Geolocation Data.

Is it possible to send this Data to the Backend and store this values as a seperate Field?

Ankit commented on Multi-Location Inventory API Questions

$
0
0

Infact this is quite critical for our app to function. Our app will cease to exist without it :(

 

-Ankit

Calling Invoice/Order Info via API by John Visconti

$
0
0

I'm sorry if this has been discussed before but I'm not exactly understanding the work flow of this.

 

I have a customer database outside of Shopify. Customers that purchase 1 type of product that I sell need to go into this outside database.

Right now I have to manaully add the customer to that database, I'm copying and pasting name, address,telephone number etc.

I'm just looking for a way to access Shopify Order info, I can handle everything else. do i need to make a App for this?

Any help or pointers would be great


Script resource on checkout pages by shopjb

$
0
0

Hi,

in my app I need to implement the Global Google Site Tag on every page in the shop, that means all normal pages and all checkout pages. But from what I see there is no way to implement it on the checkout pages except the order status. The tag looks like this:

<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script>  

I tried to use the input box for Google Analytics Code found in the Shopify backend, but Shopify is validating the code, allowing only Analytics Code to be placed.

Another option would have been to integrate the tag into the main template, but this would only work for Shopify Plus merchants as there’s no way to edit the checkout pages templates if you are not a Shopify Plus merchant.

The scripttags used by the API also do not allow to implement anything on the checkout pages.

Is there a way to solve this?

CANT AUTHENTICATE API by rameez rami

$
0
0

Hi,

 

iam trying to create an seperate hosted laravel-php admin panel for the shopify shop "menoplay". so my admin can list all the customers in shopify. i have looked into the the post man collection from forum and iam trying to impliment API : "https://{{apikey}}:{{password}}@{{yourstore}}.myshopify.com/admin/customers.json"
i tried subsstituting apiKey=bc7756042d6369f2e41536f97c173a0c, password=MY_APIsecretkey, yourstore = menoplay.

iam getting the error  "[API] Invalid API key or access token (unrecognized login or wrong password)".. what iam i doing wrong?

somewhere in doc i saw something about oAuth need to be done is this because of that?
 

Get list of webhooks by NtSpoke

$
0
0

I have a private App in my store which I want to use so that I can fetch the webhooks used in the store. However, I don't seem to be able to do so with a GET Api request. I keep getting a 500 Internal Server Error.

This is the code:
 

// Get all webhooks
	request.get({
		url: `https://${shop}.myshopify.com/admin/webhooks.json`,
		oauth: {
			oauth_token: accessToken
		}
	}, (error, response, body) => {
		const webhook = JSON.parse(body)

		if (response.statusCode === 200) {
			resolve.json({ webhook, status: 201 })
		} else {
			resolve.json({ error: 'Did not get list of webhooks', status: 500, response: response, err: error })
		}
		reject('Could not get webhooks')
	})

 

 

 

Creating an unpublished Sales Channel to access read_checkouts by LennonSC

$
0
0

Hello,

I tried creating a private shopify app for my test store and I was able to get authorized and pull product details from the API.

However, when I tried to get a specific checkout with its token via the API, I got an error that said: "[API] This action requires merchant approval for read_checkouts scope."

I looked at the list of scopes that I could authorize for my app and "read_checkouts" was not one of the ones listed.

I found this thread (https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/private-app-as-a-sales-channel-474959) from 6 months ago that says:

"The read/write checkouts endpoints are exclusive to public sales channel apps. Public is a loose way to define these apps though, as you don't actually have to publish it to the app store to use it for your own purposes."

So I created a Sales Channel App in my partner dashboard. However, in order to test it I need to install it on my development store and because it's not published in the App store, I don't see any way of installing it.

But the forum thread I linked to says I don't actually have to publish it.

I have two main questions:

1. Is it true that the only way to use the read_checkouts scope is to be a sales channel app?

2. How do I install/use a Sales Channel App to a development store in order to test it without publishing it to the app store (as the above thread indicates is possible)?

Busfox commented on Multi-Location Inventory API Questions

$
0
0

Hi again Ankit,

No timeline for you at the moment. No existing function is being removed, so any existing app you have shouldn't be negatively impacted. If you feel that's not the case, let me know the specifics and I can investigate.

API Access to Shipping Records by Ken

$
0
0

Hi Shopify community,

I am working on an idea that helps ecommerce retailers optimize their shipping operations. I believe building my solution as an application on your platform will be a great start. However, before I start developing, I need to ask whether you API allows access to the seller's historical shipping records or not. If yes, are there any restrictions?

Your support is very appreciated!

Use Existing Website employee login for shopify employees by Rahim Hemani

$
0
0

Hello, I am trying to figure out a way to take my employees existing login for my current company website and use that for their shopify login so that they can create orders in the back end. Is this possible? For around 30-40 employees. I just dont want them to have too many logins for different websites and streamline them all together. 


Webhook products/update fails on one variant update in the product by Chuck

$
0
0

Hi there,  I am hitting a dead end and not sure what is happening. I have products/update webhook and it is working when I apply changes to all variants(example update quantity)  in the product. However for the same product it does not work if I update only one variant. Is that the way products/update works?

-Chuck

sizzlecentral commented on API Access to Shipping Records

Ryan O commented on Shopify hammering fetch_stock.json endpoint, without SKU, multiple times per minute and not updating stores’ inventory

$
0
0

Thanks for the report, is this occurring for all stores?  If anyone is having these issues, could you email me some info:

- Timestamp + Logs (if you have them) + Shop URL of a store that is having the issue

- Same as above, for a store working properly?


You can email me directly ryan (dot) ormsby @shopify.com

sizzlecentral commented on Calling Invoice/Order Info via API

$
0
0

Hi,

I've built an app that may help with this:

https://apps.shopify.com/skuby

Just choose the product, apply any filters (like order date, accepts marketing), and the app will export a csv file with the list of customers that have purchased the product. I guess this assumes you are able to import a csv into the database, but at least it saves you going through all the orders to find the customer info if not.

Hope it helps, thanks!

Don

Ron Manke commented on Use Existing Website employee login for shopify employees

$
0
0

There may be a better way, but one way is to use Google authentication.

https://help.shopify.com/manual/your-account/staff-accounts/login-services

If you set up your company with Google authentication (G Suite) they can use their Google credentials to log in to Shopify.  Google uses OAuth, which is a standard for identity management.

You can then use OAuth for any of your own custom websites, apps or services as well for a unified login experience.  This will require you to switch your websites to use the OAuth standard as well.

https://oauth.net/

Viewing all 25503 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>