This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates an info section.
Each time the info section is updated, revision
increments by 1.
The current revision
must be passed when updating the info section.
This ensures you're working with the latest info section and prevents unintended overwrites.
You can only call this method when authenticated as a Wix app or Wix user identity.
Info section ID.
Info section to update.
Fields to include in the response.
Supported values: ASSIGNED_PRODUCTS_COUNT
Updated info section.
Update an InfoSection, supports partial update. Pass the latest revision
for a successful update
curl -X PATCH \
'https://www.wixapis.com/stores/v3/info-sections/5db34212-4870-4a28-b210-187be25b24cd' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
-d '{
"infoSection": {
"id": "5db34212-4870-4a28-b210-187be25b24cd",
"title": "New title",
"revision": "1"
},
"fields": ["ASSIGNED_PRODUCTS_COUNT"]
}' \
{
"infoSection": {
"id": "5db34212-4870-4a28-b210-187be25b24cd",
"revision": "2",
"createdDate": "2024-06-30T09:07:44.449Z",
"updatedDate": "2024-06-30T09:07:44.449Z",
"uniqueName": "Series 4 Cup",
"title": "New title",
"description": {
"nodes": [
{
"type": "PARAGRAPH",
"id": "ohot5271",
"nodes": [
{
"type": "TEXT",
"id": "",
"nodes": [],
"textData": {
"text": "Dual-wall",
"decorations": [
{
"type": "COLOR",
"colorData": {
"foreground": "#ff0000"
}
},
{
"type": "BOLD",
"fontWeightValue": 700
}
]
}
},
{
"type": "TEXT",
"id": "",
"nodes": [],
"textData": {
"text": " design for the hydration bottle keeps drinks cold for up to 24 hours & hot for up to 12 hours ",
"decorations": []
}
}
]
},
{
"type": "TABLE",
"id": "jx3te102",
"nodes": [
{
"type": "TABLE_ROW",
"id": "yysx7107",
"nodes": [
{
"type": "TABLE_CELL",
"id": "gl0nw108",
"nodes": [
{
"type": "PARAGRAPH",
"id": "h0mav109",
"nodes": [
{
"type": "TEXT",
"id": "",
"nodes": [],
"textData": {
"text": "product",
"decorations": []
}
}
]
}
]
}
]
}
],
"tableData": {
"dimensions": {
"colsWidthRatio": [587],
"rowsHeight": [47],
"colsMinWidth": [120]
}
}
},
{
"type": "PARAGRAPH",
"id": "cjje5104",
"nodes": []
}
],
"metadata": {
"version": 1
},
"documentStyle": {}
},
"assignedProductsCount": 1
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.