Newer Version Available

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

ProductMedia

Represents the rich media, including images and attachments, that can be added to products.This object is available in API version 49.0 and later.

Supported Calls

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

Special Access Rules

You must have the B2B Commerce license and a CMS workspace to access product media.

Fields

Field Details
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The default value is USD. Possible values are:
  • USD—U.S. Dollar
ElectronicMediaGroupId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Unique ID of the media group.
ElectronicMediaId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Unique ID of the media record.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Name of the media.
ProductId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the product that the media is associated with.
SortOrder
Type
int
Properties
Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description
The order that product media is displayed in.

Associated Objects

ProductMediaHistory
History is available for tracked fields of the object.
ProductMediaOwnerSharingRule
Sharing rules are available for the object.
ProductMediaShare
Sharing is available for the object.