메소드 | 설명 | |
---|---|---|
CountAsync ( ShopifySharp.Filters.ShopifyProductFilter filter = null ) : Task |
Gets a count of all of the shop's products.
|
|
CreateAsync ( ShopifySharp.ShopifyProduct product, ShopifySharp.ShopifyProductCreateOptions options = null ) : Task |
Creates a new ShopifyProduct on the store.
|
|
DeleteAsync ( long productId ) : System.Threading.Tasks.Task |
Deletes a product with the given Id.
|
|
GetAsync ( long productId, string fields = null ) : Task |
Retrieves the ShopifyProduct with the given id.
|
|
ListAsync ( ShopifySharp.Filters.ShopifyProductFilter options = null ) : Task |
Gets a list of up to 250 of the shop's products.
|
|
PublishAsync ( long id ) : Task |
Publishes an unpublished ShopifyProduct.
|
|
ShopifyProductService ( string myShopifyUrl, string shopAccessToken ) : Newtonsoft.Json.Linq |
Creates a new instance of ShopifyProductService.
|
|
UnpublishAsync ( long id ) : Task |
Unpublishes an published ShopifyProduct.
|
|
UpdateAsync ( ShopifySharp.ShopifyProduct product ) : Task |
Updates the given ShopifyProduct. Id must not be null.
|
public CountAsync ( ShopifySharp.Filters.ShopifyProductFilter filter = null ) : Task |
||
filter | ShopifySharp.Filters.ShopifyProductFilter | |
리턴 | Task |
public CreateAsync ( ShopifySharp.ShopifyProduct product, ShopifySharp.ShopifyProductCreateOptions options = null ) : Task |
||
product | ShopifySharp.ShopifyProduct | A new |
options | ShopifySharp.ShopifyProductCreateOptions | Options for creating the product. |
리턴 | Task |
public DeleteAsync ( long productId ) : System.Threading.Tasks.Task | ||
productId | long | The product object's Id. |
리턴 | System.Threading.Tasks.Task |
public GetAsync ( long productId, string fields = null ) : Task |
||
productId | long | The id of the product to retrieve. |
fields | string | A comma-separated list of fields to return. |
리턴 | Task |
public ListAsync ( ShopifySharp.Filters.ShopifyProductFilter options = null ) : Task |
||
options | ShopifySharp.Filters.ShopifyProductFilter | |
리턴 | Task |
public ShopifyProductService ( string myShopifyUrl, string shopAccessToken ) : Newtonsoft.Json.Linq | ||
myShopifyUrl | string | The shop's *.myshopify.com URL. |
shopAccessToken | string | An API access token for the shop. |
리턴 | Newtonsoft.Json.Linq |
public UpdateAsync ( ShopifySharp.ShopifyProduct product ) : Task |
||
product | ShopifySharp.ShopifyProduct | The |
리턴 | Task |