Tag: shopify-api
-
Want an urdu title in shopify admin graphql query
0 I want to support multiple languages: { products(first:10,) { edges { node { title # Include other fields to retrieve within translations } } } } I want the title response in Urdu. I am using admin/api/2023-07/graphql.json graphql internationalization shopify-api Share Improve this question Follow edited 20 hours ago Michel Floyd 19.3k44 gold badges2525…
-
How to create Shopify Order Discount App? [closed]
-4 Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 51 mins ago. Improve this question I am trying to create a Shopify order discount app. I have installed the…
-
Shopify GraphQL Query to retrieve UTM Parameters from Orders
1 I’m quite new to GraphQL syntax so would love to see why I am getting null back as my result. What I am trying to is query orders in a store and retrieve back the UTM Params associated with that order. This is the query: query { orders(first:10) { edges { node { customerJourney…
-
Shopify API (using Python): File upload failed due to “Processing Error.” Why?
1 I am struggling to figure out why I’m not able to successfully upload images to the Files section of my Shopify store. I followed this code here, except mine is a Python version of this: https://gist.github.com/celsowhite/2e890966620bc781829b5be442bea159 import requests import os # Set up Shopify API credentials shopify_store = ‘url-goes-here.myshopify.com’ // the actual URL is…
-
Shopify Processing Error On File Upload Through JS/GraphQL
0 I am implementing a simple solution that allows the user to select a file (any type of image). Once selected, the user clicks on "Upload Image," and the API call is triggered. I am receiving a status 200 in response, but when I check the Shopify Files directory in the admin panel, it shows…
-
Retrieving the last billing cycle using shopify graphQL
0 Is there a way in shopify graphQL to determine the total number of a billing cycles the subscription contract has ? I’ve tried the following query but it requires either billingCyclesDateRangeSelector or billingCyclesIndexRangeSelector, since I do not have the value of max billing cycle I do not have idea about the max date range…
-
Shopify GraphQL list all unique product options
0 I need to list all unique product-options within a Shopify store using the GraphQL API. However, I’m unable to do so and can’t find the solution in the API docs. Currently, I can query all product-options in the store using GraphQL-query: query { translatableResources(first:250, resourceType:PRODUCT_OPTION) { nodes { resourceId, translatableContent { key, locale, type,…
-
How can we fetch blog posts and pages from Shopify Headless in Gatsby with gatsby-source-shopify plugin?
0 I am planning to migrate my site from Shopify to Shopify Headless + Gatsby but I am having a problem with the plugin, gatsby-source-shopify. It can create nodes for products and product related data but not blog posts. Is there any way to get blog posts or do I have to create them manually…
-
Graphql Shopify | Query articles with its metafields
1 Has anyone done a query for Articles that have metafields? I can query the articles with its title, otherfields etc, but by default Shopify won’t return the articles metafields in this call. These metafields for these articles have been created by an app. My first goal would be trying to call all articles and…
-
Shopify API – Set different prices for foreign currencies to specific VariantID
0 I need to send API call to set different prices for each currency to specific VariantID. The shop is set to base on GBP. Somehow I need pass the prices for each currencies for specific VariantID I can see in shopify settings -> markets -> EU -> there is an pricelist for EUR, I…