コード例 #1
0
        public string SetInventoryCost(long inventory_item_id, string content)
        {
            var path     = $"/admin/api/2019-10/inventory_items/{inventory_item_id}.json";
            var response = _httpClient.Put(path, content);

            return(response.Body);
        }
コード例 #2
0
        public string Update(long orderId, long fulfillmentId, string fulfillmentJson)
        {
            var path           = $"/admin/orders/{orderId}/fulfillments/{fulfillmentId}.json";
            var clientResponse = _httpClient.Put(path, fulfillmentJson);

            return(clientResponse.Body);
        }
コード例 #3
0
ファイル: ProductApi.cs プロジェクト: stackthatcode/Monster
 public void UpdateMetafield(long product_id, MetafieldUpdateParent metafield)
 {
     var json           = metafield.SerializeToJson();
     var path           = $"/admin/api/2019-10/products/{product_id}/metafields/{metafield.metafield.id}.json";
     var clientResponse = _httpClient.Put(path, json);
 }