---
schema_version: "1"
id: 7deec004114b766734370c0a1ceccd1a407644a2ffeb73a65b64f99ee848e310
title: ConnectApi.WishlistInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_wishlist.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_wishlist.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2bbc80ac018db693ce0de22ac53a99e500abb32842c2104475fe514da14ff126
description: Create a wishlist.
---
# ConnectApi.WishlistInput

Create a wishlist.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| name | String | Name of the wishlist. | Required | 49.0 |
| products | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​WishlistItem​Input](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_wishlist_item.htm "Item to update or add to a wishlist.")\> | List of products to add to the wishlist. | Optional | 49.0 |