public static SqlInt32 Shop_DeleteProduct(string StoreName, string APIKey, string Password, long ProductID) { ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password); int success = sp.DeleteProduct(ProductID.ToString()); if (!String.IsNullOrEmpty(sp.ErrMsg)) RaiseErr(sp.ErrMsg); return success; }
private void DeleteProduct() { sp = new ShopifyClient(_storename, _apikey, _password); int success = sp.DeleteProduct(txtInput_Copy.Text); txtRawData_Copy.Text += "\n" + sp.RawData + " ||" + success; }