---
schema_version: "1"
id: d5e79b794e5312c1877ebc4c8f64c62066710a63f991e8db8baed6a8116afc29
title: UpdateOptions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/updateoptions_appex.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/updateoptions_appex.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 10c0f94a4682e7c5b11e1b885dacc14ae55dca6f6acca5f5e3f9ab3910dd1513
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# UpdateOptions

Defines the ability to save, update, or delete data extension fields using a container. If the `Container` property contains an instance of `DataExtensionField`, and the value of the `Action` property is `DELETE`, then the call drops any child fields. Otherwise, the call adds or updates all child fields depending upon whether they exist.

## Properties

| Name                    | Data Type                                      | Description                                                                                                                                                                                                                                                                                  |
| ----------------------- | ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Action`                | String                                         | Defines the action to take for the specified object. Valid values include:<ul><li>CREATE</li><li>DELETE</li><li>UPDATE</li></ul>                                                                                                                                                             |
| `CallsInConversation`   | Integer                                        | The number of calls in an asynchronous API conversation.                                                                                                                                                                                                                                     |
| `Client`                | [ClientID](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/clientid.md) object                 | Specifies the account ownership and context of an object.                                                                                                                                                                                                                                    |
| `Container`             | [Container](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/containerid.md) object             | A base type that other types within the API are inherited from.                                                                                                                                                                                                                              |
| `ConversationID`        | String                                         | The unique ID of initial async API call.                                                                                                                                                                                                                                                     |
| `Priority`              | String                                         | Deprecated.                                                                                                                                                                                                                                                                                  |
| `RequestExpirationTime` | String                                         | The date and time when the asynchronous API request expires. Specify the value in ISO 8601 format with UTC time or with a timezone offset. When you specify both `RequestExpirationTime` and `ScheduledTime` in a request, the `RequestExpirationTime` must occur after the `ScheduledTime`. |
| `RequestType`           | [RequestType](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/requesttype.md) object           | The type of request. Possible values are `synchronous` and `asynchronous`.                                                                                                                                                                                                                   |
| `SaveOptions`           | [SaveOption](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveoption_appex.md) object       | Specifies how information is overwritten.                                                                                                                                                                                                                                                    |
| `ScheduledTime`         | String                                         | The date and time at which the request must be processed. Specify the value in ISO 8601 format with UTC time or a timezone offset. The specified time can be up to 30 days in the future.                                                                                                    |
| `SendResponseTo`        | [AsyncResponse](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/asyncresponse_appex.md) object | Defines how responses are returned and under what conditions.                                                                                                                                                                                                                                |
| `SequenceCode`          | Integer                                        | Specifies the processing sequence of a multi-step conversation.                                                                                                                                                                                                                              |
