Пример #1
0
    public static SqlInt32 Shop_UpdateStoreMetafield(string StoreName, string APIKey, string Password, long MetafieldID, string Value, string ValueType)
    {
        ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password);
        int success = sp.UpdateStoreMetafield(MetafieldID, Value, ValueType);

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

        return success;
    }
Пример #2
0
 private void UpdateStoreMetafield(long MetafieldID)
 {
     sp = new ShopifyClient(_storename, _apikey, _password);
     int success = sp.UpdateStoreMetafield(MetafieldID, txtRawData_Copy.Text, "integer");
     txtRawData_Copy.Text += "\n" + sp.RawData + "\n" + success.ToString();
 }