I got data that should be displayed and saved as a product for the client. However the data isn't really products, more like events. So I will add metafields so I can customize the data to my needs.
I will not know which Theme the user is currently using, so the plan is to make a custom page for those collections which display the products like events.
The issue is, that if I would just let them be displayed in any theme, the product fields would not get shown by the template.
Is there a way to modify templates via GraphQL or an API from my application (app/server)?
Is there another way to solve this?
You can do that through - https://shopify.dev/docs/admin-api/rest/reference/online-store/asset?api[version]=2020-07