---
schema_version: "1"
id: 7ab9c1bbf7ac8bc9ae76d19b861ee5ca3f1421ed78928672e9f8906317d876ee
title: Favorite Batch Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_requests_favorite_batch_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_requests_favorite_batch_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 967c999b0ab18d6960e739ee5718ea05a4d31544f4f70a77cded4b8405fcc263
description: Represents a single favorite when updating favorites in batch.
---
# Favorite Batch Input

Represents a single favorite when updating favorites in batch.

JSON example

{
  favorites: \[
  {
    id: "0MVR00000004DhnOAE",
    name: "Q4 Perf"
  }, { 
    id: "0MVR00000004DhsOAE"
  }, {
    id: "0MVR00000004DiGOAU"
  }, {
    id: "0MVR000000001e2OAA",
    name: "Office Group"
  }, {
    id: "0MVR00000004GGlOAM"
  }}\]
}

Properties

| Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| id | String | The ID of the favorite. | Required | 41.0 |
| name | String | The name of the favorite. | Required | 41.0 |

#### See Also

- [Update a Batch of Favorites](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_favorites_batch_update.htm "Update all favorites at once. The sort order is updated to the given relative ordering. Any favorites missing from the request body are deleted.")