Delete Product translation by lookup key
DELETE/products/:lookupKey/:lookupValue/translation/:translationLanguage
Use this endpoint to delete product translation by lookup key and the language for which the translation needs to be deleted. 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)
The language to delete. Cannot be the default language of the category
Query Parameters
Optional. Used in combination with lookup key sourceId
Optional. Default language of the product
Responses
- 200
- 404
Delete Product translation 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 translation by Id - 200
Schema
data
object
{
"data": {},
"messages": [
"Translation deleted"
]
}
{
"data": {},
"messages": [
"Translation deleted"
]
}
Delete Product translation by Id - 404 (Product not found) / Delete Product translation by Id - 404 (Translation not found)
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 translation by Id - 404 (Product not found)
- Delete Product translation by Id - 404 (Translation not found)
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"
}
}
{
"error": {
"code": 10018,
"messages": [
"[FR] translation for product with id [40360] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/10018",
"status": 404,
"type": "TranslationNotFound"
}
}