Example #1
0
 /// <summary>
 /// Creates a new theme on the store. The theme always starts out with a role of
 /// "unpublished." If the theme has a different role, it will be assigned that only after all of its
 /// files have been extracted and stored by Shopify (which might take a couple of minutes).
 /// </summary>
 /// <param name="theme">The new theme.</param>
 /// <param name="sourceUrl">A URL that points to the .zip file containing the theme's source files.</param>
 public virtual async Task <Theme> CreateAsync(Theme theme, string sourceUrl)
 {
     return(await _CreateAsync(theme, sourceUrl));
 }
Example #2
0
 /// <summary>
 /// Creates a new theme on the store. The theme always starts out with a role of
 /// "unpublished." If the theme has a different role, it will be assigned that only after all of its
 /// files have been extracted and stored by Shopify (which might take a couple of minutes).
 /// </summary>
 /// <param name="theme">The new theme.</param>
 /// <param name="sourceUrl">A URL that points to the .zip file containing the theme's source files.</param>
 public virtual async Task <Theme> CreateAsync(Theme theme)
 {
     return(await _CreateAsync(theme));
 }