No content to show

User Activity

Solved. The word mutation should be replaced by 'query' and there should be no brackets wrapping the word mutation in the query key. It should be JSON.stringify({query: `mutation {...blah}}) and NOT JSON.stringify({query: `{mutation {...blah}} })
This piece of code does not work. I get an error - {"errors":"Parameter Missing or Invalid"}.My SHOP_URL is "https://{shopName}.myshopify.com/api/2024-01/graphql.json".The exact same method works for fetching products from the store.Please note, I ha...
So, I've finally upgraded the Shopify API to v7 (from v5). Now we have a custom app created on the Shopify Admin (with API Key, Secret, and Access Token). Originally, we could just use Shopify.Context.initialize and then run graphql queries using awa...
It is practically the end of 2022, and I am facing the same issue. Trying to run a mutation appCreateSubscription returns a confirmationUrl value of NULL. I am fairly certain this means that we don't have Billing API for custom apps yet - only public...
I created a dummy app to explore the Shopify app development process. I am having trouble with the OAuth process for renewing the expiry of an online access token. Since the app works inside an iframe, the Shopify.Auth.validateAuthCallback method thr...
Can you try enclosing your object in ``. That is, tracking_info = `{ "fulfillment": { "location_id": '55957913762', "tracking_company": "TNT", "tracking_number": "123456789", "tracking_url": "www.baidu.com", 'order_id' : '4945712251042', "line_items"...
I'm trying to dynamically change the locale on the checkout page dependent on a product in the cart, or with some javascript on the cart page. That is, instead of en.default.json, I want to apply a custom locale.json to only the checkout page based o...
Which app are you using? Since you have the file, you could use a direct <img> tag and position and size it where ever you want it to be. The code would look something like <img src="https://cdn.shopify.com/s/files/1/0414/0135/2356/files/QR_code_gett...
So I'm using a script to disable discount codes.  I'm using this script to be specific.https://help.shopify.com/en/manual/checkout-settings/script-editor/examples/line-item-scripts#disable-discount-codes The problem is, when someone enters a valid di...
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Helpful From
Likes given to