shopify - Api call to upload file for article or page -


I'm new here, and trying to understand from docs how to write articles / blogs via API upload image.

I can see the "asset" resource, is it working with me?

How is the file structure of the store bucket?

The image can be uploaded to the blog, such as the URI can be accessed

< / P>

Property resources will be the only API resource that lets you view images You can use to upload.

The functionality to upload an image to an article through the Admin Interface, it is not appearing through the API. This means that you have to upload files in the 'file' bucket. Can not use API for Instead, you can use asset resources to upload files to the 'Assets' bucket.

Under the heading: 'Create a new image by providing base64-encoded attachments', then you can use the 'public_url' attribute on the property and you can use it within that article.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -