Метод | Описание | |
---|---|---|
CancelAsync ( long orderId, |
Cancels an order.
|
|
CloseAsync ( long id ) : Task |
Closes an order.
|
|
CountAsync ( ShopifyOrderFilter filter = null ) : Task |
Gets a count of all of the shop's orders.
|
|
CreateAsync ( ShopifySharp.ShopifyOrder order, ShopifySharp.ShopifyOrderCreateOptions options = null ) : Task |
Creates a new ShopifyOrder on the store.
|
|
DeleteAsync ( long orderId ) : System.Threading.Tasks.Task |
Deletes an order with the given Id.
|
|
GetAsync ( long orderId, string fields = null ) : Task |
Retrieves the ShopifyOrder with the given id.
|
|
ListAsync ( ShopifyOrderFilter options = null ) : Task |
Gets a list of up to 250 of the shop's orders.
|
|
ListForCustomerAsync ( long customerId, ShopifyOrderFilter options = null ) : Task |
Gets a list of up to 250 of the customer's orders.
|
|
OpenAsync ( long id ) : Task |
Opens a closed order.
|
|
ShopifyOrderService ( string myShopifyUrl, string shopAccessToken ) : Newtonsoft.Json.Linq |
Creates a new instance of ShopifyOrderService.
|
|
UpdateAsync ( ShopifySharp.ShopifyOrder order ) : Task |
Updates the given ShopifyOrder. Id must not be null.
|
public CancelAsync ( long orderId, |
||
orderId | long | The order's id. |
options | ||
Результат | System.Threading.Tasks.Task |
public CloseAsync ( long id ) : Task |
||
id | long | The order's id. |
Результат | Task |
public CountAsync ( ShopifyOrderFilter filter = null ) : Task |
||
filter | ShopifyOrderFilter | Options for filtering the count. |
Результат | Task |
public CreateAsync ( ShopifySharp.ShopifyOrder order, ShopifySharp.ShopifyOrderCreateOptions options = null ) : Task |
||
order | ShopifySharp.ShopifyOrder | A new |
options | ShopifySharp.ShopifyOrderCreateOptions | Options for creating the order. |
Результат | Task |
public DeleteAsync ( long orderId ) : System.Threading.Tasks.Task | ||
orderId | long | The order object's Id. |
Результат | System.Threading.Tasks.Task |
public GetAsync ( long orderId, string fields = null ) : Task |
||
orderId | long | The id of the order to retrieve. |
fields | string | A comma-separated list of fields to return. |
Результат | Task |
public ListAsync ( ShopifyOrderFilter options = null ) : Task |
||
options | ShopifyOrderFilter | Options for filtering the list. |
Результат | Task |
public ListForCustomerAsync ( long customerId, ShopifyOrderFilter options = null ) : Task |
||
customerId | long | The id of the customer to list orders for. |
options | ShopifyOrderFilter | Options for filtering the list. |
Результат | Task |
public OpenAsync ( long id ) : Task |
||
id | long | The order's id. |
Результат | Task |
public ShopifyOrderService ( 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.ShopifyOrder order ) : Task |
||
order | ShopifySharp.ShopifyOrder | The |
Результат | Task |