legacy-knowledge-base
公開されました Jun. 30, 2025

ヘッドレスAPIでProductを作成する際に、既存の画像を参照することができない。

written-by

Madeleine Clay

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ヘッドレスAPIで、ドキュメントライブラリの既存画像を利用した商品を作りたいのですが、どうすればいいですか?

Environment

  • コマース

解決策

  • 現在、ヘッドレスAPIで商品を作成する際に、既存の画像を参照することはできません。 新規に商品画像をアップロードする場合のみ可能です。
  • 同じ画像を商品に使おうとすると、新しい画像がアップロードされます。

追加情報

  • 現在、 COMMERCE-11640 に、API 経由で商品を作成する際に既存の画像を参照する機能を追加するためのストーリーチケットがあります。

did-this-article-resolve-your-issue

legacy-knowledge-base