Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Adding images/attachments to liferay commerce using the headless API
I am trying to use the headless API to add images/attachments to a liferay commerce product. There are 2 API that are provided by liferay
- upload images using a url
- upload images by base64
I am able to upload images using base64, but I have no luck using the url version. Can anyone provide an example of how the "src" property should look like for a local file?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™