Beispiel #1
0
        public void getArticleByOrdernumber()
        {
            ShopwareApi shopwareApi = ApiConnection.getDemoApi();
            ArticleMain article     = shopwareApi.getArticleRessource().getByOrdernumber("SW10151");

            Console.WriteLine("Artikel: " + article.name);
            Console.WriteLine("- ID: " + article.id);
        }
Beispiel #2
0
        public void getArticleById()
        {
            ShopwareApi shopwareApi = ApiConnection.getDemoApi();
            ArticleMain article     = shopwareApi.getArticleRessource().get(1);

            Console.WriteLine("Artikel: " + article.name);
            Console.WriteLine("- ID: " + article.id);
        }