Asset - GET/PUT Config Settings Data
See original GitHub issueHi,
testing the native shopify API to get the “config/settings_data.json” file, the data returns correctly.
I used:
https://SITENAME.myshopify.com/admin/themes/THEMEID/assets.json?asset[key]=config/settings_data.json
When i try to get that data using this Node Api (connected to the same store):
let params = {
key: "config/settings_data.json"
}
shopify.asset.get(THEMEID, params)
.then(
asset => {
console.log('asset', asset);
callback(null, asset);
}
)
.catch(
err => {
console.log(err);
callback(err);
}
);
I get an “undefined”.
Can you help me, please?
Moreover, is it possible to upload the same JSON in another store?
Thanks a lot.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12
Top Results From Across the Web
Configure Asset Settings - Salesforce Help
Customize your page layouts and object permissions to control how your users work with assets. Required Editions and User Permissions Available in Salesfo....
Read more >Configuring Asset Management settings - BMC Documentation
From the Application Settings list, select Asset Management > Advanced Options > Asset Management Settings, and then click Open. The Asset ...
Read more >How to configure a ConfiguredAssetDataConnector
A ConfiguredAssetDataConnector allows you to specify that you have multiple Data Assets in a Datasource , but also requires an explicit listing of...
Read more >Lighting Data Asset - Unity - Manual
A Lighting Data Asset stores precomputed lighting data for a Scene in the Unity Editor. Lighting Data Assets exist as separate files in...
Read more >When to use assets or a config file - UiPath Community Forum
In general, Assets should be used for global variables & constants used by multiple processes, as well as credentials. Config files should be ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

See https://github.com/MONEI/Shopify-api-node/issues/174#issuecomment-377222096 it seems the same.
Closing as there is nothing actionable to do on our side.