latestSwagger 2.0ShopBase Dev 1.02026-08-10153268547.4 KB

353ccde6240d

Product

Delete multi product.

Delete multi product along with all its variants and images by ids

delete/admin/products.json

Path parameters

idsinteger required

Product id

Request body

exclude_idsinteger[]

This field will exclude ids of product that want to keep.

typestring

Use type for want delete all product with value default is all.

Example request

{
  "exclude_ids": [
    1,
    2,
    3
  ],
  "type": "all"
}

Response

OK

statusstring

Message for delete success.

Example response

{
  "status": "delete success"
}