示例#1
0
    public static IEnumerable Shop_GetProductMetafields(string StoreName, string APIKey, string Password, long ProductID)
    {
        ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password);

        return sp.GetProductMetafields(ProductID);
    }
示例#2
0
 private void GetProductMetafields(int ProductID)
 {
     sp = new ShopifyClient(_storename, _apikey, _password);
     List<Metafield> vars = sp.GetProductMetafields(ProductID);
     txtRawData_Copy.Clear();
     foreach (Metafield m in vars)
     {
         txtRawData_Copy.Text += String.Format("ID: {0}| Key: {1}| value: {2}| valuetype: {3}\n", m.id, m.key, m.value, m.value_type);
     }
 }