v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Products

Bulk Delete Product

To bulk delete products.<br> 批量刪除商品。

delete/products/bulk

Query parameters

ids[]string

The id of the product that will be deleted. Max delete 100 products at a time.<br> 需要刪除的商品id,每次最多只能刪除100個商品。

Response

OK

updated_product_idsstring[]

The successfully deleted product id<br>成功刪除的商品id

Example response

{
  "updated_product_ids": [
    "613844d3df38c500447ab063",
    "613844d3df38c500447ab064"
  ],
  "errors": [
    {
      "message": "product: 613844d3df38c500447ab064 does not exist.",
      "id": "6152bc92a39f0301818c70ec"
    }
  ]
}