This component allows retrieving photo metadata as well as setting selected properties for already uploaded photos. Note that this component doesn’t allow uploading any new photos but allows deleting already existing photos. Please use a separate photo upload endpoint to upload new photo(s) to an existing experience product.
Values for this component are provisioned via
ExperienceComponentsDto.photos which is an
Photos are optional. Make sure a complete list of photos is sent on update as omitting records will lead to photo deletion.
Note: if a product is a box, own photos or those of parent product will be served, depending on box settings.
Attribute JSON path
ID of this photo object
URL of the photo, if original image is to be retrieved. Derived files are meant to use different URLs which provide near-instant access to transformed (resized, cropped, etc.) invariants. Note that this attribute is read only - one can not create nor update the URL using the same endpoint which creates or updates photo metadata as file upload handling is done separately. Passing the same value is OK
Caption for this photo
Text for visually impaired users
Height of this picture, in pixels (if available)
Width of this picture, in pixels (if available)