Delete Product by Cluster lookup key and Product Id
DELETE/clusters/:lookupKey/:lookupValue/products/:productId
Use this endpoint to delete single cluster product details by cluster lookup key and product id.
Request
Path Parameters
lookupKey stringrequired
Lookup key. Read more about cluster lookup keys
lookupValue stringrequired
The value of the key (id or sourceId)
productId stringrequired
The value of product id
Responses
- 200
- 404
Delete Product by Cluster lookup key and Product Id - 200
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Product by Cluster lookup key and Product Id - 200
Schema
data
object
object
messages string[]
{
"data": {},
"messages": [
"Cluster Product deleted"
]
}
{
"data": {},
"messages": [
"Cluster Product deleted"
]
}
Delete Product by Cluster lookup key and Product Id - 404
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Product by Cluster lookup key and Product Id - 404
Schema
error
object
code number
messages string[]
moreInfo string
status number
type string
{
"error": {
"code": 20013,
"messages": [
"Cluster Product with id [707969] not found for the cluster with id [210]"
],
"moreInfo": "https://www.propel.us/docs/errors/20013",
"status": 404,
"type": "ClusterProductNotFound"
}
}
{
"error": {
"code": 20013,
"messages": [
"Cluster Product with id [707969] not found for the cluster with id [210]"
],
"moreInfo": "https://www.propel.us/docs/errors/20013",
"status": 404,
"type": "ClusterProductNotFound"
}
}
Loading...