This method allows to update existing screen items.

    Parameters

    (object/array) to be updated.

    (object) Returns an object containing the IDs of the updated screen items under the property.

    Examples

    Setting the size of the screen item

    Set the width of the screen item to 500px and height to 300px.

    Response:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. ]
    5. },
    6. }

    Source

    CScreenItem::update() in frontends/php/include/classes/api/services/CScreenItem.php.