Exemple #1
0
    public static IEnumerable Shop_GetOrderLineItems(string StoreName, string APIKey, string Password, long OrderID)
    {
        ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password);

        return sp.GetOrderLineItems(OrderID);
    }
        private void GetOrderLineItems()
        {
            sp = new ShopifyClient(_storename, _apikey, _password);
            List<LineItem> lines = sp.GetOrderLineItems(Convert.ToInt64(txtInput.Text));

            txtRawData_Copy.Clear();
            foreach(LineItem i in lines)
            {
                txtRawData_Copy.Text = String.Format("Name: {0} |Price: {1} |quantity: {2}\n", i.name, i.price, i.quantity);
            }
        }