---
schema_version: "1"
id: d9f8b46397ad89bc772b8ca99f22e5cad28730034618dd0362c2ca1c55ce203d
title: InvokeUpdate
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_platformAPIInvokeUpdate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_platformAPIInvokeUpdate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c9dc9b436419c8542993fecdaefd43b09e1e546ffa29cc71a928834091a610a4
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# InvokeUpdate

## Overview

Invokes the Update method on the specified object

### Syntax

InvokeUpdate(1, 2, 3)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                                         |
| ------- | ------ | ------------ | ------------------------------------------------------------------- |
| **1**   | string | **Required** | Object on which to perform Update method                            |
| **2**   | array  | **Required** | Array containing status and RequestID of API call                   |
| **3**   | string | **Required** | API configure options to include in call. Can contain a null value. |

## Example

```
<script runat="server">
     var StatusAndRequestID = [0,0];
     var newObject = Platform.Function.InvokeUpdate(UpdateRequest,StatusAndRequestID,Options);
     var status = StatusAndRequestID[0];
     var requestID = StatusAndRequestID[1];
</script>
```
