Delete Category translation by lookup key
DELETE/categories/:lookupKey/:lookupValue/translation/:translationLanguage
Use this endpoint to delete category translation by lookup key and the language for which the translation needs to be deleted. If multiple categories with the same lookup key exist, use additional filtering depending on the lookup key to uniquely identify the category (e.g. source
and language
for lookup key source
).
Request
Path Parameters
Lookup key. Read more about category lookup keys
The value of the key (id or sourceId)
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 category
Responses
- 200
- 404
Delete Category 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 Category translation by Id - 200
Schema
data
object
{
"data": {},
"messages": [
"Translation deleted"
]
}
{
"data": {},
"messages": [
"Translation deleted"
]
}
Delete Category translation by Id - 404 (Category not found) / Delete Category 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 Category translation by Id - 404 (Category not found)
- Delete Category translation by Id - 404 (Translation not found)
Schema
error
object
{
"error": {
"code": 30006,
"messages": [
"Category with id [2947] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/30006",
"status": 404,
"type": "CategoryNotFound"
}
}
{
"error": {
"code": 30006,
"messages": [
"Category with id [2947] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/30006",
"status": 404,
"type": "CategoryNotFound"
}
}
{
"error": {
"code": 10018,
"messages": [
"[FR] translation for category with id [1773] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/10018",
"status": 404,
"type": "TranslationNotFound"
}
}