Content List

Update a Content List

Update a content list

patch/content-lists/{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 of the content list

Request body */*

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'
messagestring

(optional) Holds further information about the response

warningsstring[]

(optional) Holds further warnings

Example request

{
  "response": {
    "contentList": {
      "title": "Lunch Menu",
      "items": [
        {
          "category": "Starters, Drinks, Desert, etc."
        }
      ]
    }
  }
}

Response

Content List successfully updated

idinteger

Content List id

titlestring

The name of the content list: e.g. 'Lunch Menu'

type'MENU' | 'PEOPLE' | 'PRODUCTS' | 'CUSTOM' | 'SERVICES' | 'EVENTS' | 'FAQ'

The type of content list. One of SERVICES, PRODUCTS, MENU, PEOPLE or CUSTOM. The type cannot be updated after creation.

descriptionstring

A description of the content list (section)

Example response

{
  "title": "Lunch Menu",
  "items": [
    {
      "category": "Starters, Drinks, Desert, etc."
    }
  ]
}

Changes

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