Skip to content

Update a Faq Item

Request

Make changes to a faq item. Any blank parameter deletes an old value, any unspecified parameter does nothing

Security
X-API-KEY or Authorization
Path
idstringrequired

The uberall unique id for the faq item

Bodyapplication/jsonrequired

Faq Item object to update

questionstringrequired

The frequently asked question

Example:"Do you have parking?"
answerstringrequired

Answer for the faq item

Example:"Yes, free valet parking is available."
identifierstring

Unique Identifier for the faq item

listNamestring

Name of the section this faq item belongs to

translationsobject

Translations keyed by locale, each a map of question/answer/listName

Example:
{ "de": { "question": "Haben Sie Parkplätze?", "answer": "Ja, kostenloses Parken ist verfügbar." } }
curl -i -X PATCH \
  'https://uberall.com/api/faq/{id}' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "question": "Do you have parking?",
    "answer": "Yes, free valet parking is available.",
    "identifier": "string",
    "listName": "string",
    "translations": {
      "de": {
        "question": "Haben Sie Parkplätze?",
        "answer": "Ja, kostenloses Parken ist verfügbar."
      }
    }
  }'

Responses

Faq Item successfully updated

Bodyapplication/json
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

The actual response object of the response

Response
{ "status": "SUCCESS", "message": "string", "warnings": [ "string" ], "response": { "faqItem": { … } } }