Ejemplo n.º 1
0
    public static SqlInt32 Shop_UpdateProduct(string StoreName, string APIKey, string Password, long ProductID, string JsonString)
    {
        ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password);
        int success = sp.UpdateProduct(ProductID, JsonString);

        if (!String.IsNullOrEmpty(sp.ErrMsg))
            RaiseErr(sp.ErrMsg);

        return success;
    }
Ejemplo n.º 2
0
 private void SP_UpdateProduct()
 {
     sp = new ShopifyClient(_storename, _apikey, _password);
     int success = sp.UpdateProduct(Convert.ToInt32(txtInput_Copy.Text), txtRawData_Copy.Text);
     txtRawData_Copy.Clear();
     txtRawData_Copy.Text += success.ToString();
 }