Admin Appearance: Sections

Update a section

Changed on

Writes the published values of a section. Send options with ?locale= to write that locale's published content; use the draft endpoint to stage edits instead.

put/appearance/sections/{id}

Request

Path parameters

idinteger required

Section ID

Query parameters

localestring
Example:en

Locale the options belong to

Request body

namestring required
type'image_carousel' | 'product_carousel' | 'category_carousel' | 'footer_links' | 'static_content' | 'services_content' required
sortOrderinteger required
channelIdinteger required
themeCodestring required
statusboolean
optionsobject

Example request

{
  "name": "Summer Banner",
  "type": "image_carousel",
  "sortOrder": 2,
  "channelId": 1,
  "themeCode": "default",
  "status": true,
  "options": {
    "images": []
  }
}

Response

Section updated.

Changes