When uploading articles using the REST API, there is a field for the featured image that works fine, but there is no way to add images on the article body.
Adding links to existing CDNs does not make much sense when migrating, as those CDNs will eventually be dropped, and the articles will stop working. Another option is to embed the images a base64, but that makes the body to large.
Is there anyway to upload the image to shopify and then link the image properly on the shopify CDN?
Regards
The only workaround that comes to my mind is POSTing the article with the first image as the featured image, greping the CDN link from the response and replacing it on the body, PUTing the article again with the second image and repeating… That seems like sub-optimal, but should work…