Delete multiple products
DELETE/api/v2/catalog/products
Bulk delete multiple products
Request
- application/json
Body
array
required
Array [
]
id stringrequired
Possible values: >= 12 characters
and <= 12 characters
, Value must match regular expression ^[0-9a-z]+$
Unique ID of the product
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
count integerrequired
Number of records affected
{
"count": 1
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
statusCode integerrequired
HTTP status code
message string
Error message
location stringrequired
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
path stringrequired
Possible values: non-empty
Path to the property with the error
constraints
object
required
property name* string
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
Loading...