Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Delete image API not working

nobaddays
Shopify Partner
7 0 0

HI,

I've been trying to delete the images from a product. Neither of these are working:

 

DELETE/admin/api/2022-06/products/{productID}/images/{imageID}.json

and this 

DELETE/admin/api/2022-06/products/{productID}/images/{imageID}.json?title={products:Title}

 

Any ideas? Thanks!

 

Thanks!

Reply 1 (1)

InfiniteCom
Shopify Partner
19 4 5

Is there an API version 2022-06? Try 2022-04 (which is the latest release)

Imagine editing your product and variant images on your local drive in realtime.
Checkout InfiniteSync Image Upload / Export and sync with you local or online drive

Did we answer your question? if yes, please like and/or accept the solution