Faq Items

Update a Faq Item

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

patch/faq/{id}

Request

  • Base URL
    https://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api
  • Auth
    HTTP bearer

Path parameters

idstring required

The PromoRepublic unique id for the faq item

Request body

questionstring

The frequently asked question

answerstring

Answer for the faq item

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 request

{
  "question": "Do you have parking?",
  "answer": "Yes, free valet parking is available.",
  "translations": {
    "de": {
      "question": "Haben Sie Parkplätze?",
      "answer": "Ja, kostenloses Parken ist verfügbar."
    }
  }
}

Response

Faq Item successfully updated

status'SUCCESS' | 'PENDING' | 'QUOTA_LIMIT_EXCEED' | 'NOT_AUTHORIZED' | 'FORBIDDEN' | 'BAD_ACCESS_TOKEN' | 'BAD_PRIVATE_KEY' | 'BAD_PUBLIC_KEY' | 'MISSING_PARAMETER' | 'INVALID_PARAMETER' | 'WRONG_PARAMETER_TYPE' | 'CONFLICT' | 'RESOURCE_LOCKED' | 'SERVER_ERROR' | 'ERROR' | 'NOT_FOUND' | 'BAD_REQUEST' | 'USER_ERROR' | 'PARTIAL_ERROR' | 'SERVICE_TEMPORARILY_UNAVAILABLE' required
messagestring

(optional) Holds further information about the response

warningsstring[]

(optional) Holds further warnings

Example response

{
  "response": {
    "faqItem": {
      "question": "Do you have parking?",
      "answer": "Yes, free valet parking is available."
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.