sections_edit
Sections edit allows editing/updating an existing section in the widget according to the action performed. It is one of the response types of the action handler. This response type contains a list of existing sections that have to be edited and allows a success/failure banner.

| Parameter | Description | Datatype | Max Limit |
| type | Type of response - sections_edit | String | - |
| sections | List of sections | List | 5 |
| success_banner | Text to be displayed on the banner if the action was a success | String | - |
| failure_banner | Text to be displayed on the banner if the action was a failure | String | - |
| refresh_section | whether to refresh the parent section by invoking the action handler with action type navigate_back while navigating back or to show the initial data itself. | Boolean | - |
| pending | The pending action is valid for 3 minutes. ie, the callback API for a particular pending action should be invoked within 3 minutes. Learn more. | Boolean | - |
Sample JSON
{
"type":"sections_edit",
"sections":
[
{
"reference_id":"HO340WA52EIPHTFUR_cancelled",
"name":"purchaseInfo",
"title":"Item Details",
"layout":"info",
"data":
[
{
"label":"Item Name",
"value":"Tiago Engineered Wood Four Door Wardrobe in Wenge Colour by HomeTown"
},
{
"label":"Net Price","value":"₹ 37,900"
},
{
"label":"Status","value":"Cancelled"
}
]
}
],
"success_banner":"Item HO340WA52EIPHTFUR cancelled successfully",
"refresh_section":true
}