Skip to content

Delete Products

DELETE
/product/202309/products

Delete non-frozen products that you no longer need. For the Indonesia market: You can only delete products that are not frozen on all listing platforms. If the product is frozen on any platform, it cannot be deleted.

shop_cipher
required
string

Identifies the shop. Obtain it from the Get Authorized Shops API.

Media typeapplication/json
object
product_ids
required

The product IDs to delete. Max number of IDs: 20.

Array<string>
Example
{
"product_ids": [
"1749456684124612452",
"1742456684124612451"
]
}

Success

Media typeapplication/json
object
code

Status code; 0 means success.

integer format: int64
message

Success or failure message.

string
request_id

Request log ID.

string
data
object
errors

The errors for individual products that could not be deleted. Check this list even when the top-level code is 0.

Array<object>
object
code

The error code.

integer format: int64
message

A human-readable error message.

string
detail

Additional detail about the product showcase addition error.

object
product_id

The product identifier.

string
Example
{
"code": 0,
"data": {
"errors": [
{
"code": 12052048,
"message": "You can't edit other sellers' products.",
"detail": {
"product_id": "1729382588639839583"
}
}
]
},
"message": "Success",
"request_id": "202203070749000101890810281E8C70B7"
}