ProductMedia
Represents the rich media, including images and attachments, that can be added to products.
Introduced in API version 49.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
- You must have the B2B Commerce license and a CMS workspace to access product media.
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
Unique ID of the media group.
This field is a relationship field.
-
Relationship name: ElectronicMediaGroup
-
Relationship type: relationship
-
Refers to: ElectronicMediaGroup
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
Unique ID of the media record.
This field is a polymorphic relationship field.
-
Relationship name: ElectronicMedia
-
Relationship type: polymorphic
-
Refers to: ExternalMedia, ManagedContent, ManagedContentInfo
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Name of the media.
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
The ID of the product that the media is associated with.
This field is a relationship field.
-
Relationship name: Product
-
Relationship type: relationship
-
Refers to: Product2
- Type: int
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
- Description: The order that product media is displayed in.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.
-
ProductMediaChangeEvent: Introduced in API version 57.0.