Object
Admin / POSproduct_media
An image or media asset on a product.
Gallery items for a product (variant-specific images use VariantImage).
Exposure
Used in Admin, POS, or Storefront. Not exposed on Merchant API v1 routes yet.
What
The product_media object is the JSON / domain shape for this resource in RetailLink.
Why
Use these fields when integrating — not scraped Admin HTML — so sync jobs and apps stay stable across UI changes.
How
Read each property below — description first, then that property's Code / Data / Output (or type). Use the sticky example JSON on the right as a full fixture.
Properties
6 fields on product_media. Types link to related objects when available. Snippets for a property appear under that property.
id
stringMedia id.
id: stringurl
stringPublic or CDN URL of the asset.
url: stringalt
string | nullAlt text for accessibility.
alt: string | nulltype
MediaTypeMedia kind (default IMAGE).
type: IMAGE | VIDEO | MODEL_3Dposition
numberGallery sort order.
position: numbercreatedAt
stringISO-8601 created timestamp.
createdAt: string