Newer Version Available

This content describes an older version of this product. View Latest

WishlistItem (Beta)

Represents an item on a Wishlist in a store built with B2B Commerce on Lightning. Available in API version 49.0 and later.

As a beta feature, WishListItem is a preview and isn’t part of the “Services” under your master subscription agreement with Salesforce. Use lists at your sole discretion, and make your purchase decisions only on the basis of generally available products and features. Salesforce doesn’t guarantee general availability of lists within any particular time frame or at all, and we can discontinue it at any time. This feature is for evaluation purposes only, not for production use. It’s offered as is and isn’t supported, and Salesforce has no liability for any harm or damage arising out of or in connection with it. All restrictions, Salesforce reservation of rights, obligations concerning the Services, and terms for related Non-Salesforce Applications and Content apply equally to your use of lists. You can provide feedback and suggestions for lists in the IdeaExchange/X group in the Trailblazer Community B2B Wish List Beta Feedback.

Note

Supported Calls

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

Special Access Rules

The WishListItem object is available only if the B2B Commerce on Lightning Experience license is enabled.

Fields

Field Details
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:
  • EUR—Euro
  • USD—U.S. Dollar
Name
Type
string
Properties
Create, Filter, Group, idLookup, Name Field, Sort, Update
Description
The name of this WishlistItem record. Name can be up to 255 characters.
Product2Id
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the product represented by the WishlistItem.
WishlistId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the parent Wishlist of this WishlistItem.