Метод | Описание | |
---|---|---|
CountAsync ( ) : Task |
Gets a count of all blogs.
|
|
CreateAsync ( |
Creates a new blog.
|
|
DeleteAsync ( long id ) : System.Threading.Tasks.Task |
Deletes a blog with the given id.
|
|
GetAsync ( long id ) : Task |
Gets a blog with the given id.
|
|
ListAsync ( long sinceId = null, string handle = null, string fields = null ) : Task |
Gets a list of all blogs.
|
|
ShopifyBlogService ( string myShopifyUrl, string shopAccessToken ) : System.Collections.Generic |
Creates a new instance of ShopifyBlogService.
|
|
UpdateAsync ( |
Updates a blog.
|
public CreateAsync ( |
||
blog | The blog being created. Id should be null. | |
metafields | IEnumerable |
Optional metafield data that can be returned by the |
Результат | Task |
public DeleteAsync ( long id ) : System.Threading.Tasks.Task | ||
id | long | The id of the blog you want to delete. |
Результат | System.Threading.Tasks.Task |
public GetAsync ( long id ) : Task |
||
id | long | The id of the blog you want to retrieve. |
Результат | Task |
public ListAsync ( long sinceId = null, string handle = null, string fields = null ) : Task |
||
sinceId | long | Restrict results to after the specified ID |
handle | string | Filter by Blog handle |
fields | string | comma-separated list of fields to include in the response |
Результат | Task |
public ShopifyBlogService ( string myShopifyUrl, string shopAccessToken ) : System.Collections.Generic | ||
myShopifyUrl | string | The shop's *.myshopify.com URL. |
shopAccessToken | string | An API access token for the shop. |
Результат | System.Collections.Generic |
public UpdateAsync ( |
||
blog | The updated blog. Id should not be null. | |
metafields | IEnumerable |
Optional metafield data that can be returned by the |
Результат | Task |