Wishlist

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.

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
Sharing rules are available for the object.
WishlistShare
Sharing is available for the object.

Usage Notes

  • Wishlists aren’t included in any searches.