---
schema_version: "1"
id: e08ff55e245f53fbcd7526f4f481be66721b4ea79d0f5a8a05313084e47fead5
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.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/saveaction.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 23a5e57115ec6d5da3f7fec5542e9a53c3775e16a19df792564b799fce3f2089
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, Role, and Send objects.

The Default property indicates whether the object uses the default action when saving an object. In general, the default action is the same as the method being called. If the Create method is called, the object is inserted into the system if it doesn't exist. If it does exist, an error returns stating that the object already exists. If the Update method is called, the object is updated in the system if it already exists. If it doesn't exist, an error returns stating that the object doesn't exist.

## Properties

| Name         | Data Type   | Description                                                                                                                                          |
| ------------ | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `AddOnly`    | Enumeration | Indicates that data is only added and not updated during a save action.                                                                              |
| `Default`    | Enumeration | Specifies the default source of a salutation when building an email.                                                                                 |
| `Delete`     | Enumeration | Indicates whether an object is deleted.                                                                                                              |
| `Nothing`    | Enumeration | Indicates that nothing is saved.                                                                                                                     |
| `UpdateAdd`  | Enumeration | Indicates an UpdateAdd type for a save action. If this property is specified, the save action updates existing information and adds new information. |
| `UpdateOnly` | Enumeration | Indicates an UpdateOnly type for a save action. If this property is specified, the save action updates existing information only.                    |

## Related Items

- [Subscriber Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/subscriber.md)
- [List Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/list.md)
- [DataExtension Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/dataextension.md)
- [Role Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/role.md)
- [Send Object](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/send.md)
