sections_edit
It is one of the response types of the submit handler. This response type contains a list of existing sections that have to be edited. This can have a success/failure banner.
Parameter | Description | Datatype | Max Limit |
type | Type of response | - | - |
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 | - |
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 Code:
Copied{
"type" : "section_edit",
"success_banner" : "Optional - updated successfully",
"sections" : [$section,$section]
}