Unable to reference existing image when creating a Product via headless API

Issue

  • I would like to create a product via headless API that uses an existing image from the Document Library.

Environment

  • Commerce

Resolution

  • Currently, it isn't possible to reference existing images when creating a product through headless API. It is only possible to upload new product images.
  • If you try to use the same image for a product, a new image will be uploaded.

Additional Information

  • There is currently a story ticket at COMMERCE-11640 to add the capability to reference existing images when creating products via API.

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助