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

Sasha from Inffuse commented on add a tracking code in the head

$
0
0

Hi Alex,

You can use Shopify's ScriptTag API to request your script to be loaded on the shop's page. To the best of my knowledge, the script will be loaded asynchroniously, from a Shopify's code that runs in document's head, so essentially, it will be executed after the page has been loaded, similarly to what you require.

https://docs.shopify.com/api/uiintegrations/scripttag

Also, if all your app needs to do is injecting your script into the page, you can easily build this with Inffuse, which we're building to help app developers. It will take care both of injecting the script, and app's authentication process. If you need some configuration parameters that's also easily done, using Javascript only. We're in closed beta right now, but feel free to email me to sasha<at>inffuse.com for further info or an invite.


Alex Vit commented on add a tracking code in the head

$
0
0

Yes, thanks, I saw the ScriptTag API, and, as I undertood, it allows me to load a link to script between my <head> tags, but the script is different for every shop, so I need to load directly a script, not the link to it =(

Сorrect me if I'm wrong 

How is API version handled by Shopify API by jfbaro

$
0
0

Hi there,

First, I would like to congrat the Shopify team for such a great API, it's one of the most well design e-commerce API I have seen.

One thing which I am not sure yet is how Shopify handles versioning of its API. Can someone explain that? Please.

Thanks

255 Character Limit on return_url is Too Restrictive by Steve

$
0
0

In trying to create a recurring application charge, I received a validation error stating that the return_url provided was too long. URLs over 255 characters aren't particularly uncommon. At any rate, it's frustrating for such a vital function to fail for this reason, especially since this restriction is undocumented. Could you please lift this restriction or (at the minimum) document it somewhere in the recurring application charge section of the API docs? I'll strongly push for lifting the restriction altogether.

Carrier not being set in Shopify API from Linnworks by Supattra Moksiri

$
0
0

Basically the gist of it is we use a management system called Linnworks and the Shopify API does not catch our carrier/s used (once we have processed shipped orders through Linnworks to Shopify) Shopify always defaults to carriers Fedex or DHL who we dont even use!

So in turn our buyers in Shopify think their goods are being shipped with Fedex or DHL unless we manually change it which is a pain and means more emails to buyers to recify the original auto email that is sent when Linnworks processes orders to Shopify (not very professional)

This will now conflict with the new shipping system Shopify have introduced so we need to get it fixed.
We have already been onto Linnworks who have said the following:

"We do not send anything across to Shopify when processing an order, other than the tracking number itself. The courier is then assigned by Shopify, so this is nothing to do with Linnworks simply because we do not send this data. I have spoken to our developers regarding this and was informed that we would not be able to adjust the API call to include the shipping courier, as the submitted information would still be unable to check if it is the right courier or not"

Would appreciate any help on this issue

Thank you in advance

Webhooks and SSL by Tyler Nichol

$
0
0

Is it not possible to grab a webhook on a secured site. I tested the webhooks just fine on an http and then transfered to an https so i could integrate an app and it gives me undefined index for the headers. 

KN commented on In the Shopify API, is it possible to retrieve the ordering of products in a collection?

$
0
0

That's great Josh thanks - I hadn't realised the featured products would count as a Custom Collection. All sorted now. Many thanks for your help.

Integrate Stitchlabs with another app via API by Andy Kocoglu

$
0
0

Hi,

 

I need someone to integrate Handshake (Handshake.com) with my stitchlabs account. Stitch labs said that it is possible via their API. 

If any of you are abe to do this please let me know and we can talk. 

 

Thanks

Andy 


Richard Blair commented on countries.json not returning weight_based_shipping

$
0
0

Hello Everyone,

First I want to apologise about the sudden change to the API. When we rolled out the new Shipping Zones feature I overlooked the implications that would have on the API. I take full ownership for this, and again, I apologize. As soon as this issue came to my attention I began working on a solution, and getting the API docs updated.

Unfortunately going forward the countries.json endpoint is not where you will be able to find the correct shipping rates, and in a few weeks the shipping rates fields on that endpoint will be removed. This is because with the introduction of Shipping Zones countries no longer have a one to many relationship with shipping rates. Now a single country can belong to multiple Shipping Zones which have multiple rates.

To properly address the issue I had to create a new resource at /admin/shipping_zones.json. You can find the documentation for this endpoint here: https://docs.shopify.com/api/shipping_zone and the documentation on Shipping Zones here: https://docs.shopify.com/manual/settings/shipping/add-destinations

Over the course of the day or two the various SDKs will be updated to include this new resource.

I apologise for the inconvience this has caused.

Pierre-Olivier Maugis commented on Cart attributes on iOS SDK

$
0
0

Thank you ! I'll check out on this :)

cartrover-will commented on Line Item level discount & Order level discount field clarification

$
0
0

This post got delayed a few hours before being posted (caught in spam filter) so I'm not sure anyone ended up seeing it. Bumping once just to make sure it's seen.

Josh Harms commented on The remote server returned an error: (400) Bad Request

$
0
0

Yep, that's correct. The "accessToken" is the unique token that you receive after integrating a store via the OAuth process. If you're instead building a private app, you would use the API key and the app's API password to authenticate with the API.

$500 referral bonus for setting up credit card processing through Worldpay by Michael Seaman

$
0
0

I am with Worldpay, the second largest credit card processor globally. We do many shopify accounts through the Authorize.net payment gateway. We have had some accounts get approved for pricing under 2% and .00c per transaction. Whatever the current rates and fees are we can beat them.

For sending a shopify store to Worldpay we will pay you $500, after their first 30 days of processing.

We also have a signing promotion running, earning the merchant up to $750 for switching. 

Please reach out to michael.seaman@worldpay.us for more information.

jackRacer commented on Add button or menu item to the merchant console Order ?

$
0
0

Is there any way to use the EASDK and not have a separate app home page, just a menu item?

A homepage would be redundant for what I am working on...

Any way to update inventory faster than 1 hour? by Fyodor Ivanishchev

$
0
0

Hello, sorry if there is already a topic where it was discussed, but I searched and did not find it.

We have a Shopify shop connected to our app. The products are linked between them and inventory is being managed by our app. We have inventory updated by providing a 

GET /fetch_stock

endpoint, from which we send inventory values.

The problem is that it happens only once per hour, as said here, and we need to improve Shopify inventory sync time so that, for example, people can't make orders on Shopify website for items which are already sold in an app.

Is there a way to do it? Perhaps we need to create a products/update call every time a product' inventory is updated in our app? Thank you!


Amar commented on What is sent with Products/update webhook

$
0
0

Hey Paddy,

 

Product Update Webhook only sends the data associated with the product being updated....there must be some glitch if more data arrives.. would love to have a look if you can paste code..

Best,

Amar

Private App with App Proxy by Julian Ellwood

$
0
0

Hi,

I'm struggling a bit  here. I've made a private app with an app proxy from a partner account and am a bit confused as to what I need to do to get it working properly on my live site legends-of-the-sport.myshopify.com. The app allows our customers to see the print on demand products from our fulfiller Makeable alongside the image that will be used to customise the print on demand product. I've been testing the app outside of Shopify on Heroku and am satisfied it works as required. Now I need to move it to the live site. There are two main things that I'm confused about.

1. It is a private app so although I initially created it as a public app using an app proxy, I've only tested it on Heroku and my browser. I don't know how I can move it from my partner environment to my live site. I think I should swap the api key and secret but am not sure as to how I can provide the app proxy information if there is no dialog for setting that information in a private app.

2. The information will be added to an alternative product page. There is a table split into two columns. One column on the left will have the information from the app proxy showing the print on demand products from our fulfiller Makeable. The second column will hold the images that are held as products in our Shopify site. Once the user has selected the desired print on demand product, and shown what his selected image will look like as part of the customised print on demand product, I will pass the relevant information to the cart for processing. What I'm not clear on is how to add the print on demand products to the page. My initial view was to use an iframe and provide the relevant url for the proxy. The problem is I'm not completely clear as to what the relevant url is that I need to pass. I think it is, like in my partner site http://lots-development.myshopify.com/lotsproxy/app/pod/podproducts,  which would return all of the available print on demand products but I'm not sure. A bit of clarification for me would help tremendously as I'm already behind schedule with this.

 

Kind Regards,

John B (Chief Architect - Legends Of The Sport)

Shopify Plus Development Stores by Mike Potter

$
0
0

We're building a feature for our backup app Rewind that requires a Plus store. Is it possible to create a Plus development store so we can get access to the Plus exclusive API calls?

Mike

Block never called by Saurabh Jain

$
0
0

The completion block on the method "getCompletionStatusOfCheckout:" is never called.

 

My code 

 

client.getCompletionStatusOfCheckout(self.checkout, completion: { (buystatus, error) -> Void in

                status = buystatus

                dispatch_semaphore_signal(semaphore)

})

EDIT: Got it

Fetch 4 digit order id by Saurabh Jain

$
0
0

How do i get the 4 digit order shown on shopify admin panel from the BUYCheckout object?

Viewing all 25503 articles
Browse latest View live


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