Example #1
0
    public static void Shop_AddProduct(string StoreName, string APIKey, string Password, string JsonString, out SqlInt64 ProductID)
    {
        ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password);
        ProductID = sp.AddProduct(JsonString);

        if (!String.IsNullOrEmpty(sp.ErrMsg))
            RaiseErr(sp.ErrMsg);
    }
Example #2
0
 private void AddProduct()
 {
     sp = new ShopifyClient(_storename, _apikey, _password);
     long success = sp.AddProduct(txtRawData_Copy.Text);
     txtRawData_Copy.Text += "\n" + sp.RawData + "|| ProductID: " + success;
 }