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

Josh Wheeler commented on Unable to test dev checkout - Checkout System disabled: Merchant's trial period expired.

$
0
0

Hey Heather, 

You don't have to pay for your development shop, however if memory serves they do have a limit on the number of checkouts that can be performed on them. 

Would you be able to send me a link to your development shop? I could have a look and give you a hand with sorting this out.


Trying to download Shopify order data through API by techemilio

$
0
0

Hello everyone, 

I own a shopify store and I currently am manually exporting all the order data to excel . I talked to a friend who also runs a store and he told me that through API I could update all the order data to excel without needing to manually do so. I am experienced in python 2.7 and am comfortable enough with it to read almost any python code and decipher what it's purpose is. I am currently stuck in situation where IDK how to communicate to the shopify API and been pulling my hairs out for days due to frustration.

I did alot of research through these forums and elsewhere and found a line of code that seems to do what I want but when I compile it in my notepad++ it says there is no module named shopify installed. Ive been trying to find a proper module for shopify with zero luck.

 

import shopify
shop_url = "https://shopify-website.myshopify.com/admin/themes/203128836/editor" 

shopify.ShopifyResource.set_site(shop_url)
shop = shopify.Shop.current()

#How many orders & list them
order = shopify.Order()
num = order.count()
print num
success = order.find()
print success

 

This is the line of code I found in these forums and from what I can see it does part of what I want to eventually accomplish. Does anyone know a guide to communicating to Shopifys API via python? I have been learning many new terms (since ive never worked with API before) and jsut recently took an API course in code academy for python so i have a general idea of how API's work but I simply cannot find a way to communicate to shopify via python. 

 

Any help/input would be appreciated , I would hire a developer but I cannot afford one yet. 

Horas commented on Unable to test dev checkout - Checkout System disabled: Merchant's trial period expired.

Ryan O commented on Trying to download Shopify order data through API

Josh Wheeler commented on Unable to test dev checkout - Checkout System disabled: Merchant's trial period expired.

$
0
0

Hey Horas! 

You should be good to go now! 

For future reference, to any developers who stumble upon this in the future - you should be able to get a few more test checkouts by contacting our support team directly.

Josh Wheeler commented on Products endpoint results: published_at column is sometimes earlier than the created column

$
0
0

Hey Harrison, 

I can't say I've seen something like that before. Is there any chance you have an example product ID handy that I could have a look at? 

User Credentials On Other Platforms by belomi

$
0
0

Hello Shopify Community! :)

I've just created a Dev Store and I'd like to implement the following flow

  1. user lands on the store and selects a product (also memberships maybe)
  2. user registers and buys a product
  3. user lands on a confirmation page and is getting redirected to another website (maybe same domain, but different, independ application incl. separate database etc)
  4. the newly created user is now also allowed to use / login into that other website using the credentials he / she set on the Shopify registration

Can I somehow use the API to achieve the scenario above? In a perfect world, the customer does not need to register twice in order to login into the Shopify system and the other platform.

Looking forward to any advice, tip and so on. Thanks in advance :-)

Leandro Soler commented on How get the attribution_app_id for a specific application in Shopify app market ?

$
0
0

I need to know exactly the same :(


ian commented on Product price override

$
0
0

I have the same ask here - definitely hoping to find some documentation on how the third party apps like BOLD acheive price overrides that are carried over from the templating and into the checkout

 

wrt to the pricing rule above, it seems the 3rd party pricing apps are still able to override a price and then apply a discount code/price rule that can use the overridden price?

Harrison commented on Products endpoint results: published_at column is sometimes earlier than the created column

$
0
0

Sure. Some examples are here:
 

+--------------+---------------------+---------------------+
| product_id   | published_at        | created             |
|--------------+---------------------+---------------------|
| 4008440964   | 2015-12-21 11:31:00 | 2015-12-21 11:52:47 |
| 3974588740   | 2015-12-12 18:15:00 | 2015-12-16 11:47:01 |
| 8861872588   | 2016-10-29 17:05:00 | 2016-11-07 14:04:35 |
| 3912808390   | 2015-11-27 14:47:00 | 2015-11-27 16:39:44 |
| 3930848390   | 2015-11-30 01:01:00 | 2015-11-30 01:30:02 |
| 3053076227   | 2015-10-10 23:34:00 | 2015-10-10 23:35:11 |
| 3930873094   | 2015-11-30 01:01:00 | 2015-11-30 01:34:24 |
| 1576262339   | 2015-07-12 02:43:00 | 2015-07-12 02:44:35 |
| 3930698182   | 2015-11-30 01:01:00 | 2015-11-30 01:08:21 |
| 3930915334   | 2015-11-27 14:47:00 | 2015-11-30 01:41:48 |
+--------------+---------------------+---------------------+

 

assets/main.js net::ERR_CONTENT_LENGTH_MISMATCH by Ofirr

$
0
0

Hi All,

I have downloaded and installed the complete NodeJS example (React / NodeJS) from here.
I was able to successfully install the application and even to register webhook. 

When I try to load the client side app (React) via the shop admin -> app section, I am getting an error in the chrome console: 
assets/main.js net::ERR_CONTENT_LENGTH_MISMATCH

As a result, the React components are not showing at all. 

Did anyone face similar issue? Any suggestions how to tackle it? 

Thanks!

Ofirr commented on assets/main.js net::ERR_CONTENT_LENGTH_MISMATCH

$
0
0

If anyone will look for a solution, the issue was resolved by running: "yarn run clean". 

 

Ecom Admin commented on Product Visibility on Extra Sales Channels

$
0
0

I too would like to put in a vote for this feature. We create over 50 products every day via API and need an easy solution to mark items for sale on facebook and amazon.

Conversion Data by Gareth Doherty

$
0
0

Hi

Can anyone explain how I get Conversion summary data for an Order through the API? I have been staring at the documentation for a while and I cannot see anything obvious.

Effectively what I want is the data which tells me which site the customer originated from when they made the order.

Example data that I can see in the admin is:

"Converted after a visit from Facebook"

Any help would be appreciated.

 

ian commented on Product price override


Clement commented on Webhooks bug

$
0
0

I have the same question as joyrexus:

Wondering if a `products/update` event is sent when the product gets added to a new collection?

 

techemilio commented on Trying to download Shopify order data through API

$
0
0

Hi Ryan,

I downloaded the ShopifyApi on the Github link and implemented it via pip but when I compile my code this is the error message I get :

Traceback (most recent call last):
  File "C:\Users\Techemilio\Desktop\testAPI1.py", line 1, in <module>
    import Shopify
ImportError: No module named Shopify
>>> 

 

This confuses me becuase pip tells me that the shopifyAPI is up to date . Is there something wrong with what im doing or my code? I will link my code below: (Put xxxxxx in the 3 fields that are private information). I am using python 2.7

import Shopify

API_KEY = 'xxxxxxxxxx'
PASSWORD = 'xxxxxxxxxx'
SHOP_NAME = 'xxxxxxxxxxxxx'

shop_url = "https://%s:%s@%s.myshopify.com/admin" % (API_KEY, PASSWORD, SHOP_NAME)
shopify.ShopifyResource.set_site(shop_url)
shop = shopify.Shop.current()

#How many orders & list them
order = shopify.Order()
num = order.count()
print num
success = order.find()
print success
der.save()
print success

 

Abhilash commented on Add a new javascript code on a web page through a Shopify App - Shopify Admin API

$
0
0

Fixed using the below code. Basically, the request body was supposed to be sent as JSON.

 

request.post({
    url: createScriptTagUrl,
    body: scriptTagBody,
    headers: shopRequestHeaders,
    json: true
}, function(error, response, body) {
    if (!error) {
        console.log(body)
    }
});

Horas commented on Unable to test dev checkout - Checkout System disabled: Merchant's trial period expired.

$
0
0

Hey Josh,

Thank you very much!

Do you recommend contacting your support team via email or is there another way (support ticket, chat, etc.)?

Thanks!

Mikhail commented on Questions about Shopify Billing API

$
0
0

Hi Joel, thank you for your reply.

As you can see the last successful status in this flow is "accepted" which is still just an obligation to pay, not a confirmation of the actual transaction. And that confirmation is what we need.

Of course there is an option to save the billing date and check if the charge is not frozen on that day. But it seems to be just a workaround, while I'd like to know if there is an actual status or hook for the successful transaction.

For example, even if it's frozen for some time - and then the merchant starts paying again - how do we know that?

Viewing all 25503 articles
Browse latest View live