|
1
|
{"slug":"/references/product/interfaces/product.UpsertProductImageDTO","title":"UpsertProductImageDTO","frontmatter":{"displayed_sidebar":"productReference"},"toc":[],"blocks":[{"kind":"markdown","html":"A product image to create or update."},{"kind":"typeList","sectionTitle":"UpsertProductImageDTO","types":[{"name":"id","type":"`string`","description":"The product image's ID. If not provided, the image is created. In\nthat case, the `url` property is required.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"url","type":"`string`","description":"The new URL of the product image.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"[MetadataType](/references/product/types/product.MetadataType)","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} |