List uploaded files and URL's via API

shahram
Shopify Partner
4 0 0

I've seen a lot of requests here on whether it's possible to upload files via API to Shopify a la Files under Settings. It looks to me like this is not possible.

Is there a way to READ the list of existing uploaded files via the API?

Something like,

1. I go to Settings, upload a new file product.png

2. I call an API endpoint that returns an object for every file uploaded by me.

e.g. { "files" : [{"name":"product.png", "url":"cdn.shopify.com..."}]

0 Likes
Jason
Shopify Expert
10416 165 2063

There's no Files API so reading or adding files won't be possible.

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
0 Likes
shahram
Shopify Partner
4 0 0

Thank you for confirming Jason

0 Likes
ChahnaGupta
Shopify Staff
Shopify Staff
4 2 0

You can now interact with files using the new Files API.  Find more information about it https://shopify.dev/changelog/file-api-is-now-available .  This Admin Graph API is available to start from the 07-2021 release candidate.

0 Likes