---
schema_version: "1"
id: 7cbc6fe35c19422546908f0d13ad06ff703d6a250aad686ffa64c2df807ccdee
title: Wishlist
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_wishlist.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_wishlist.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d3e7c4c492d35435d756ceab1a69f95b2a3af8e6c99d63c28d05f213ab470ec8
description: Represents a buyer-created list of WishlistItems in a store that’s built with B2B Commerce on Lightning. Available in API version 49.0 and later.
---
# Wishlist

Represents a buyer-created list of [WishlistItem](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_wishlistitem.htm "Represents an item on a Wishlist in a store built with B2B Commerce for Lightning. Available in API version 49.0 and later.")s in a store that’s built with B2B Commerce on Lightning. Available in API version 49.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

The Wishlist object is available only if the B2B Commerce license is enabled.

## Fields

| Field | Details |
| --- | --- |
| AccountId | 
Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the account that owns the Wishlist.



 |
| CurrencyIsoCode | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The ISO code for the currency that’s specified on the buyer’s account. Default value is USD. Possible values are:

- USD—U.S. Dollar





 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of this Wishlist record. Name can be up to 255 characters.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the user or group that owns the Wishlist.



 |
| WebStoreId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the WebStore related to this Wishlist.



 |
| WishlistProductCount | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The count of WishlistItems on this Wishlist. WishlistProductCount is a calculated field.



 |

## Associated Objects

This object has the following associated objects. Unless it’s noted, associated objects are available in the same API version as this object.

[WishlistOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[WishlistShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.

## Usage Notes

- Wishlists aren’t included in any searches.

#### See Also

- [WishlistItem](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_wishlistitem.htm "Represents an item on a Wishlist in a store built with B2B Commerce for Lightning. Available in API version 49.0 and later.")