Skip to main content

Product images deletion

· One min read
Pavel Husa

We are working hard to support product images maintenance via API. As one of the preparation steps we have released two DELETE endpoints today:

There are two galleries used in Shoptet:

  • shop – this is the common gallery for product images displayed on the product detail page;
  • shop360 – this is a gallery for a 360° image, if used.

Both of the endpoints support optional parameter ?removeReference=true|false. It affects eventual reference of an image to one of the product variants. If true, the reference (if any) is removed. If there would be a reference, but the parameter is false or not provided, the deletion would fail with code 409.