PUT
/cms/pages/{bucketId}https://apis-spb.konso.io/cms/pages/{bucketId}Update page
Параметры запроса
idnumberThe unique identifier of the page to update
titlestringThe title of the page
slugstringThe URL-friendly identifier for the page
summarystringA brief summary of the page
bodystringThe main page content body
categoryIdnumberThe category identifier this page belongs to
isPublishedbooleanWhether the page is published or not
publishedDatestringThe publication date in ISO 8601 format
imageUrlstringThe URL of the page's featured image
metaTitlestringSEO meta title for the page
metaDescriptionstringSEO meta description for the page
Ответы
200Page updated successfully
тип: GenericResultResponse<boolean>
Язык:
expand_more
Пример запроса
curl --request PUT \
--url https://apis-spb.konso.io/cms/pages/{bucketId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: {your-api-key}' \
--data '{
"id": 123456,
"title": "Updated About Us",
"slug": "updated-about-us",
"summary": "Updated company information",
"body": "<h1>Updated About Us</h1><p>Our updated story...</p>",
"categoryId": 1,
"isPublished": true,
"publishedDate": "2023-12-01T10:00:00Z",
"imageUrl": "https://example.com/updated-about.jpg",
"metaTitle": "Updated About Us - Company Name",
"metaDescription": "Learn about our updated company information"
}'Response Example200
{
"result": true
}KONSO