Upload a file - Python

How can I upload a file in the “content” section using python?

hi @Luca123 ,

You can use the Shopify REST admin API to create a file in the Shopify store that you’re app has access to. Follow the documentation from Shopify below to use the REST admin API.

Content API - Shopify REST admin API