# Delete all product images

**URL:** <https://community.shiphero.com/t/delete-all-product-images/1238>\
**Category:** GraphQL API\
**Created:** [April 6, 2021, 2:51pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238 "2021-04-06T14:51:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Csraspini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/csraspini/32/125_2.png) [@Csraspini](https://community.shiphero.com/u/Csraspini)\
**Post date:** [April 6, 2021, 2:51pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238/1 "2021-04-06T14:51:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [April 6, 2021, 3:27pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238/2 "2021-04-06T15:27:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Csraspini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/csraspini/32/125_2.png) [@Csraspini](https://community.shiphero.com/u/Csraspini)\
**Post date:** [April 7, 2021, 12:29pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238/4 "2021-04-07T12:29:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [April 7, 2021, 3:20pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238/5 "2021-04-07T15:20:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [April 7, 2021, 4:19pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238/6 "2021-04-07T16:19:59Z")

</div>

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](https://imagedotcom.com/7a/ptathtoimage.jpg)”  
position: 1  
}  
{  
src: “[https://imagedotcom.com/7a/ptathtoimage2.jpg](https://imagedotcom.com/7a/ptathtoimage2.jpg)”  
position: 2  
}  
]  
}  
) {  
request\_id  
complexity  
}  
}

Best,  
Theresa

---

<div class="post-metadata">

**Author:** ![Csraspini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/csraspini/32/125_2.png) [@Csraspini](https://community.shiphero.com/u/Csraspini)\
**Post date:** [April 7, 2021, 4:31pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238/7 "2021-04-07T16:31:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [April 13, 2021, 12:01am UTC](https://community.shiphero.com/t/delete-all-product-images/1238/8 "2021-04-13T00:01:01Z")

</div>

Hi @Csraspini!  
Fees should be specified on [https://help.shiphero.com/knowledgeBase/13138180](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](mailto: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

---

<div class="post-metadata">

**Author:** ![Csraspini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/csraspini/32/125_2.png) [@Csraspini](https://community.shiphero.com/u/Csraspini)\
**Post date:** [April 18, 2021, 12:51pm UTC](https://community.shiphero.com/t/delete-all-product-images/1238/9 "2021-04-18T12:51:37Z")

</div>

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