Update Product by Cluster lookup key and Product Id
PATCH/clusters/:lookupKey/:lookupValue/products/:productId
Use this endpoint to update single cluster product details by cluster lookup key and product id.
Request
Path Parameters
Lookup key. Read more about cluster lookup keys
The value of the key (id or sourceId)
The value of product id
- application/json
Body
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
descriptions
object[]
names
object[]
notes
object[]
packageDescriptions
object[]
shortDescriptions
object[]
Responses
- 200
- 404
Update 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)
- Update Product by Cluster lookup key and Product Id - 200
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
data
object
descriptions
object[]
names
object[]
notes
object[]
packageDescriptions
object[]
shortDescriptions
object[]
{
"data": {
"costPrice": 0.99,
"descriptions": [
{
"language": "NL",
"value": "Balpennen met ViscoGlide-technology. Combineert de voordelen van een balpen en een gelpen. Verkrijgbaar in medium (1mm.) en XB (1,4mm.) punt."
}
],
"eanCode": "4004675044075",
"id": 707966,
"manufacturer": "SCHNEIDER",
"minimumQuantity": 1,
"names": [
{
"language": "NL",
"value": "Balpen Slider XB extra blauw"
}
],
"notes": [
{
"language": "NL",
"value": "blawn"
}
],
"oemCode": "151203",
"package": "STK",
"packageDescriptions": [
{
"language": "NL",
"value": "Stuks"
}
],
"price": 1.49,
"shortDescriptions": [
{
"language": "NL",
"value": "Balpennen met ViscoGlide-technology. Combineert de voordelen van een balpen en een gelpen. Verkrijgbaar in medium (1mm.) en XB (1,4mm.) punt."
}
],
"shortName": "Balpen Slider XB extra blauw",
"sku": "151203",
"source": "REST-API",
"sourceId": "151203",
"status": "A",
"suggestedPrice": 1.49,
"supplier": "REST-API",
"supplierCode": "151203",
"taxCode": "H",
"unit": 1
},
"messages": [
"Cluster Product updated"
],
"total": 1
}
{
"data": {
"costPrice": 0.99,
"descriptions": [
{
"language": "NL",
"value": "Balpennen met ViscoGlide-technology. Combineert de voordelen van een balpen en een gelpen. Verkrijgbaar in medium (1mm.) en XB (1,4mm.) punt."
}
],
"eanCode": "4004675044075",
"id": 707966,
"manufacturer": "SCHNEIDER",
"minimumQuantity": 1,
"names": [
{
"language": "NL",
"value": "Balpen Slider XB extra blauw"
}
],
"notes": [
{
"language": "NL",
"value": "blawn"
}
],
"oemCode": "151203",
"package": "STK",
"packageDescriptions": [
{
"language": "NL",
"value": "Stuks"
}
],
"price": 1.49,
"shortDescriptions": [
{
"language": "NL",
"value": "Balpennen met ViscoGlide-technology. Combineert de voordelen van een balpen en een gelpen. Verkrijgbaar in medium (1mm.) en XB (1,4mm.) punt."
}
],
"shortName": "Balpen Slider XB extra blauw",
"sku": "151203",
"source": "REST-API",
"sourceId": "151203",
"status": "A",
"suggestedPrice": 1.49,
"supplier": "REST-API",
"supplierCode": "151203",
"taxCode": "H",
"unit": 1
},
"messages": [
"Cluster Product updated"
],
"total": 1
}
Update 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)
- Update Product by Cluster lookup key and Product Id - 404
Schema
error
object
{
"error": {
"code": 20013,
"messages": [
"Cluster Product with id [707968] 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 [707968] not found for the cluster with id [210]"
],
"moreInfo": "https://www.propel.us/docs/errors/20013",
"status": 404,
"type": "ClusterProductNotFound"
}
}