Exemple #1
0
    public static SqlInt32 Shop_UpdateProductMetafield(string StoreName, string APIKey, string Password, long ProductID, long MetafieldID, string Value, string ValueType)
    {
        ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password);
        int success = sp.UpdateProductMetafield(ProductID, MetafieldID, Value, ValueType);

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

        return success;
    }