Delete all product images

Hello there,
I would like to delete all of my current product images, given that we will be adding new ones through our graphql integration. how can this be done?
Thank you,
Claudia

Hi Claudia!
There is not currently a way to delete images in bulk. If you give me some specifics, I can check with Professional Services to see if they can do this.

Hi Theresa,

Thank you so much for your reply.

Basically, what we currently have is a Magento1 integration, which has loaded all of our product images, I imagine via REST.
Now, however, we have built a custom API integration using GraphQL, which will be launching tomorrow. Thus, we will be removing the Magento1 integration.
The photos currently associated to our products on ShipHero are out of date, and we will be adding new photos using our new integration. That is why I’d like to remove all old photos on Shiphero.
I am not necessarily looking for a API method to do this, but I’d really like to avoid opening all 11000+ products by hand and deleting the photos…
I tried via bulk CSV upload but it didn’t eliminate any photos.
Is there any way at all? Maybe even something I can do using REST before I eliminate the Magento1 integration?

Are there any other specifics that may come in handy?

Best,
Claudia

Hi Claudia,
I can check with Professional Services and see if they can help.
Best,
Theresa

Hi Claudia,
Just a quick update… It is possible through professional services, but there are fees associated with that. We do have a feature request in to be able to do this through the API, but it is not available. We currently have this mutation, but it does not delete the image, just adds to it.
mutation {
product_update(
data: {
sku: “xxxxxxxxxxxxxxxx”
images: [
{
src: “https://imagedotcom.com/7a/ptathtoimage.jpg
position: 1
}
{
src: “https://imagedotcom.com/7a/ptathtoimage2.jpg
position: 2
}
]
}
) {
request_id
complexity
}
}

Best,
Theresa

Hi Theresa,

Yes, I am aware of that mutation and will be using it to update my product images.
However I need to delete them first…

What are the fees for professional services?

Best
Claudia

Hi @Csraspini!
Fees should be specified on https://help.shiphero.com/knowledgeBase/13138180 for this kind of task (under Consulting/Professional Services).
If you are interested in that feel free to contact support@shiphero.com or create a ticket for professional services from the app and we will be able to walk you through the next steps over there.
Thanks again for the patience!
Tom

Hi Tom, thank you but we have proceeded in another manner!
Best,
Claudia

1 Like