Delete Product by lookup key
DELETE/products/:lookupKey/:lookupValue
Use this endpoint to delete product by lookup key. If multiple products with the same lookup key exist, use additional filtering depending on the lookup key to uniquely identify the product (e.g. source
and language
for lookup key source
).
Request
Path Parameters
Lookup key. Read more about product lookup keys
The value of the key (id, sourceId, sku or supplierCode)
Query Parameters
Optional. Used in combination with lookup key sourceId
Optional. Default language of the product
Responses
- 200
- 404
Delete Product by Id - 200
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
server
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Product by Id - 200
Schema
data
object
{
"data": {},
"messages": [
"Product deleted"
]
}
{
"data": {},
"messages": [
"Product deleted"
]
}
Delete Product by Id - 404
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
server
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Product by Id - 404
Schema
error
object
{
"error": {
"code": 80006,
"messages": [
"Product with id [48118] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/80006",
"status": 404,
"type": "ProductNotFound"
}
}
{
"error": {
"code": 80006,
"messages": [
"Product with id [48118] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/80006",
"status": 404,
"type": "ProductNotFound"
}
}