Alan_Reid
Tourist
Contact Me
Status
Offline
Last Activity
‎03-06-2020 08:42 AM
Topic Started
1
Topics Started
Topic Solutions
0
Solutions
Post Count
12
Posts
Post Kudos
1
Likes

Community Badges

Hi there, I would like to be able to update my inventory via the Shopify API. All the docs I see only mention using the product ID. This leads me to ask the following... - How can I get a list of t...
Hi, I am trying to set the price of my product but also show it including the VAT The content bit of the span displays the price fine. However, it does not show up inside the if statement, I only ...
No content to show

User Activity

All sorted, thanks for all your help  
Do you have a sample of a method you're using at all?Basically it seems that the issue is the graphQL query is what's causing the error in my code. If I move it outside the method I can run it, but then I am getting the error about setting the API ve...
@William_Homer wrote:Hmm, I'm running your exact code on my end and it's working.  The message that you are providing as well doesn't give me anything to go off of.  I'm not sure how you are running the code, if possible (and if your not already doin...
The system seemed to remove my update so I will repost.shop_url = "https://#{API_KEY}:#{PASSWORD}@#{SHOP_NAME}.myshopify.com" ShopifyAPI::Base.site = shop_url ShopifyAPI::Base.api_version = '<version_name>' client = ShopifyAPI::GraphQL.client QUERY...
Just updated the code I am running, thank you for looking.
I get this error... dynamic constant assignment SHOP_NAME_QUERY = client.parse <<-'GRAPHQL'any ideas? This is my code (obviously with the correct api key etc.) shop_url = "https://#{API_KEY}:#{PASSWORD}@#{SHOP_NAME}.myshopify.com" ShopifyAPI::...
I will try that, thanks for the advice  hoping I can get this working as it will make life so much easier 
Hi William,Thanks for your response. I have tried that, but I couldn't get it to work. I am assuming that you need to set up the following first, then you can access the code you pasted?shop_url = "https://#{API_KEY}:#{PASSWORD}@#{SHOP_NAME}.myshopif...
Any one know of any decent tutorials or sample code to help me learn Shopify's GraphQL Admin API? I am using Rails, and have checked out the Shopify API docs, but don't seem to be getting anywhere. I have the REST API working perfectly well, but can'...
This widget could not be displayed.
This widget could not be displayed.
Helpful From
Likes given to