Oct 1, 2021
I can see product events https://shopify.dev/api/admin-rest/2021-07/resources/event That will tell be about the product, but is there anything about the variants, variant add, removed etc? Thanks ...
I use the api (rest) to create directs, this works fine unless the redirect already exists. In which case I get '{"errors":{"path":["has already been taken"]}}' I just what I am doing, so...
Mar 10, 2021
To add to my troubleshooting dashboard I would like to be able to report on changes made to a product. I looked at the event api but that only looks to deal with destroy and creates. Is t...
Oct 22, 2020
There looks to be a redirect character limit of 255, which is a problem For example {'redirect': {u'path': '/9780263299014', 'target': u'/products/modern-romance-january-2021-a-books-1-4-the-cost-o...
Oct 16, 2020
Is there an easy way to remove all products in a collection? I know I can loop through and delete, but that seems a bit intensive Currently I delete the whole collection and recreate, but that...
Oct 2, 2020
Hi there I thought I had this working, but now I am not sure I want to stop Shopify analytics until a user agrees to them So I changed the script that has the trekkie code to this <script type...
Aug 18, 2020
What is the best way to get the inventory levels for multiple products? I can use the mutation inventoryItems to get all products in a store (25,000), but what if I just want to get say 1000 of them...
Feb 13, 2020
Hi there Our product handles are ids, that come from our internal system that groups products together, for example: /12234 The ID will never change. This means that the url i...
Dec 31, 2019
Is it possible, using GraphQL, to add multiple image IDs to a variant. I can't see any reference to that The rest api talks of variant_ids, but I can't see any reference to that i...
Nov 23, 2019
Is there a limit as to the number of characters in the value for a product metadata field? Thanks Grant
Nov 22, 2019
I need to create a collection based on a list of product handles, using GrapgQL. I can see how to add a product to a collection using the ID. To be able to add a product to a collec...
Sep 9, 2019
I read the change log and it said it does, but I can't see anywhere where I enable that for Shopify Payments. I can see discussion around 3rd party integrations, but not with Shopify Payments ...
Aug 5, 2019
I am currently updating tags for a product by re-sending ll the tags, and this works. The business are now wanting to update through Shopify, although the majority of the tags will still com...
Mar 14, 2019
Is it possible to have shipping restrictions per product? I know that it can be done site wide. This is what I would need Product A - UK selling rights only Product B - US se...
Feb 21, 2019
Are the meta data field metafields_global_title_tag and metafields_global_description_tag still supported with graphql. I had a look but couldn't see anything, apart from more general...
Dec 6, 2018
I have some large shops where I am using the restapi to update products, this can be slow as I need to do quite a few api calls to update the products (handle to get ID, variants, locations etc) I...
Oct 5, 2018
I am seeing something strange using the invetory set api I use the varians api to get a list of variants for a product From that response I loop through the variants and get then get the i...
No content to show
User Activity
That was what I thought, which is a shame. As I want to mange this myself, I opt'ed to submit many requests at the same time, which is OK, as long as I am ware of the the bucket limits Thanks for the feedback
I want to delete 1000s products through Graphql, but this doesn't seem to be possible. My use case is for testing, I have a test store and want to delete all product and then re-add, to test. I don't want to use an app Looks like there is no bulk del...
Don't suppose you work this out did you? The ability to use the filename of files is important to me, so I like using that rather than productCreateMedia Update: I thin this is one way to do it: https://community.shopify.com/c/graphql-basics-and/upl...
10-22-2024
I am looking at the productSet new api to create a product with variants, I can't seem to see anything related to weightUnit or weight. How am I able to set that? My goal is to use the create to do as much in one go as I can, but that seems to be mi...
10-22-2024
Thanks for this. We use the alt text on the front end of the site, so that wont work. Looks like the approach I do now, where I store the data in a metafield at the project level (as json) reference that, is probably the most flexible way, if cumbe...
10-22-2024
I have a use case where I need to associated extra data to an image I upload through the admin api. The use case is that I have an internal time stamp so I know when the image was updated internally. Ideally, when uploading the image, I would like ...
10-17-2024
Think I may have answered by own question query GetProductsById($id: ID!) {
product(id: $id) {
bundleComponents(first: 10) {
edges {
node {
componentProduct {
id
handle
variants(first: 10) {
edges {
node {
id
title}}}
}
}
}
}
title
variants(first: 10...
10-16-2024
I want to use Graphql to get all the products in a bundle. I can get the bundle but see no way of getting the products that have been added to that bundle. Is that possible? Thanks Grant
I had this too. The name of that sales channel is the name app I think. For me it was a time thing, as I think the app needs to be applied (added to the sales channels for each product) and that takes time
Don't suppose anyone found a solution to this did they? When doing a create fail if the handle already exists. Just some flag in the payload would be enough. ThanksGrant
Don't suppose you got anywhere with this did id you? I want to add metafields to media. I can add no problem, but I can't seem to ever retrieve the the metafields https://community.shopify.com/c/metafields-and-custom-data/accessing-mediaimages-and-...
04-22-2024
I am looking at using the New MediaImge (replacing image). I can add the image no problem but I want to add metafields to the image. I can sue metafieldsSet to add metadata {
"metafields": [
{
"key": "zexample",
"namespace": "hcp",...
I was looking at the best way to update many products with inventory (https://community.shopify.com/c/shopify-discussions/fastest-most-efficient-way-to-set-inventory-using-api-graphql/td-p/2405187) I started to investigate InventorySetOnHandQuantitie...
I am after the most efficient way to set an inventory value. It has to be set, rather than adjust Currently I am using the rest api: admin/inventory_levels/set.json That woks, but I have 10,000s of products to update, across multiple stores There do...
01-09-2024
This is my experience We had this on one of our sites late 2023, then on another January 2024. We had the same code base updating all sites using GraphQL, with some sites being affecting and others not. We logged tickets with Shopify support and ...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
398 | 04-03-2023 11:03 AM |