---
schema_version: "1"
id: 9ee6d1b573ab9ac6d03043ccbb3d92d7dde2c095ab5598c5c04b35b04ecbc652
title: SaveAction
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/saveaction_appex.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction_appex.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: caa99d06a4647d5d990680cb36653cdb2697fa1671b376ba64d2b49738fb252d
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# SaveAction

Defines how upsert acts on nested objects for create and update methods.

You can apply SaveAction to Subscriber, List, DataExtension, and Send objects.

### Properties

| Name         | Data Type                   | Description                                                             |
| ------------ | --------------------------- | ----------------------------------------------------------------------- |
| `AddOnly`    | [SaveAction](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction.md) | Indicates that data is only added and not updated during a save action. |
| `Default`    | [SaveAction](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction.md) | Use the default action when saving an object.                           |
| `Delete`     | [SaveAction](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction.md) | Not used.                                                               |
| `Nothing`    | [SaveAction](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction.md) | Indicates that nothing is saved.                                        |
| `UpdateAdd`  | [SaveAction](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction.md) | Indicates an UpdateAdd type for a save action.                          |
| `UpdateOnly` | [SaveAction](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction.md) | Indicates an UpdateOnly type for a save action.                         |

## Related Items

- [Create Method](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/create_appex.md)
- [Update Method](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/update_appex.md)
- [Subscriber Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/subscriber_appex.md)
- [List Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/list_appex.md)
- [DataExtension Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/dataextension.md)
- [Send Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/send.md)
