duplicate a product using Shopify GraphiQL App

Excursionist
68 1 6

I need help!

 

I have lots and lots of products to add all very similar as 5 -6 types and only the image changes.

When I try to duplicate a product it desnt work because the browser is unable to handle all the data for the variants I assume so I get a Server Error.

 

Does anyone know how this can be done with the GraphiQL App

 

I have tried using the instructions here but I get an error see below

 

Thanks in advance for any help.

oh I am going down this route because I cant stand spreadsheets!

Input

mutation {
  productDuplicate(productId: "gid://shopify/Product/4048783933512", newTitle: "The Old Man in Storr") {
    newProduct {
      id
      title
    }
  }
}

Response

{
  "data": {
    "productDuplicate": {
      "newProduct": null
    }
  },
  "extensions": {
    "cost": {
      "requestedQueryCost": 10,
      "actualQueryCost": 10,
      "throttleStatus": {
        "maximumAvailable": 1000,
        "currentlyAvailable": 990,
        "restoreRate": 50
      }
    }
  }
}
0 Likes
Excursionist
68 1 6

Does anyone know what I did wrong ? 

 

Thanks

0 Likes
Highlighted
Excursionist
68 1 6

Bump

 

0 Likes