Asset: Asset Functions

Description Usage Arguments Value References

Description

Asset Functions

Usage

1
2
3
4
5
6
7
getAssets(themeId, ...)

getAsset(themeId, assetKey, ...)

createAsset(themeId, asset, ...)

deleteAsset(themeId, assetKey, ...)

Arguments

themeId

a Theme id number

...

additional request parameters

assetKey

an Asset key e.g. "templates/index.liquid"

asset

a list containing Asset fields

Value

a list containing an Asset fields or a list of Assets

References

Shopify API Asset documentation: https://help.shopify.com/api/reference/online_store/asset


shopifyr documentation built on July 22, 2019, 9:04 a.m.

Related to Asset in shopifyr...