Dan Joseph - Stuff about the Bible, Programming, and Personal Things.
  • Home
  • Portfolio
  • About
  • Contact Dan
  • Privacy
Home
About
Contact Dan
Privacy
My Network:
Dan's Rolling BBQ
Dan's Work
  • Home
  • About
  • Contact Dan
  • Privacy
  • My Network:
  • Dan’s Rolling BBQ
  • Dan’s Work
Dan Joseph - Stuff about the Bible, Programming, and Personal Things.
API, E-Commerce, Magento 2, Magento 2 REST API, Tutorial

Magento 2 REST API: Disclaimer, Fixing Errors…

One of the most challenging parts of Magento 2 development is how new it is, and how abruptly it hit the market. There were beta versions, and talk of it being released, but I think the general feel from the community was it was never going to happen. Everyone (mostly) continued focusing on 1.x. This was the inspiration of my tutorial posts.

I’ve come to figure out that sending over multiple products and categories does NOT work. When you do that, you end up with only the last one being created/updated. I’m still researching if this is even possible, and have even reached out to the community, but with no luck.

I have omitted the multiple product/category send paragraphs from my previous posts. I really want to apologize for this. It was an unfortunate oversight.

When I figure this out, or find a better solution (such as extending Magento or something), I will most likely make that another “Part” of this tutorial series. In fact, if anyone solves this, please comment, or send me a link to a post and I’ll give you a write up, credit, and link (I won’t steal content).

We’re running into a holiday weekend, I’ll have Part 5 next week!

-Dan

June 30, 2016by Dan
API, E-Commerce, Magento 2, Magento 2 REST API, Tutorial

Magento 2 REST API: Part 4, Category Creation…

One of the things I found to be a challenge was creating over 200 categories. The company I work for has a lot of different brands, categories, and a very large sku catalog. I didn’t want to farm this out and take money away from development, so I decided to do it myself. After assembling my CSV, I was ready to go to work with the Category REST API.

Continue reading

June 21, 2016by Dan
API, E-Commerce, Magento 2, Magento 2 REST API, Tutorial

Magento 2 REST API: Part 3, Product Updates, Pricing & QTY…

Updating your products is about the same process as creating them. You’re going to utilize the same API (/rest/V1/products).

The way we approach putting products up on our web site is to stock everything with a qty 0, and then the current price for the day its pushed over to the web site. From there our sales and marketing team will do daily updates of the current pricing and send over an update thru the REST API. Additionally, we have a cron setup that pulls inventory files and updates qty levels every few hours. This is where my talk about product updates and qty/price comes into play.

Continue reading

June 17, 2016by Dan
API, E-Commerce, Magento 2, Magento 2 REST API, Tutorial

Magento 2 REST API: Part 2, Adding A Product…

Adding a product through the Magento 2 REST API is actually quite simple. They have all the parameters and attributes and other things that you’d want to set in the JSON request. You can even setup an image or video in media gallery.

Continue reading

June 16, 2016by Dan
API, E-Commerce, Magento 2, Magento 2 REST API, Tutorial

Magento 2 REST API: Part 1, Introduction…

I launched a new Magento 2 project back in March.  Our current web site was on a hosted shopping cart platform that had absolutely no flexibility outside of the theme.  We needed something we could customize and interface with our custom-built ERP.  Having a background in Magento, and the Magento 2 REST API looking attractive, we decided to go that direction.

Continue reading

June 14, 2016by Dan

We’re Hosted By:

Subscribe

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Recent Posts

  • Book Review: Living in the Power of the Holy Spirit
  • Book Review: Strange Fire
  • Book Review: Halftime
  • Book Review: Your Spiritual Gifts Can Help Grow Your Church
  • Romans 12:1-7, You and Your Spiritual Gifts

Categories

  • A.J.
  • ActionScript
  • Advertising
  • Ajax
  • Android
  • Annoucements
  • API
  • Architecture
  • Beginning PHP
  • Bible
    • Bible Study
    • Bible Verse
    • Heaven
    • Malachi
    • Proverbs
    • Proverbs Study
    • Romans
    • Salvation
    • Spiritual Gifts
  • Canis Hosting
  • Career
  • Career Advice
  • Character Development
  • Comics
  • Contests
  • CSS3
  • Database
  • Development Practices
  • Dialogue Development
  • Drupal
  • E-Commerce
  • E3
  • Encouragement
  • Experiment
  • Familiaris Games
  • Family
  • Flash
  • Flash Game Programming 101
  • Freelance
  • Game Development
  • Game Review
  • Google+
  • HTML5
  • Humor
  • IDE
  • JavaScript
    • jQuery
    • jQuery Basics
  • Kindle
  • Legends
  • Linux
  • LivingPoetic.com
  • Magento
    • Intro To Magento 2
    • Magento 2
    • Magento 2 REST API
  • Mail Bag
  • Mobile
  • MySQL
  • Offshoring
  • Opinion
  • Performance
  • PhoneGap
  • PHP
  • Project Management
  • Prototype
  • Reporting
  • REST
  • Review
    • Book Review
    • Product Review
    • Product Reviews
  • Sci-Fi
  • Social Media
  • Special Announcements
  • Sports
  • State of the Blog
  • Story Development
  • TeaserLeague.com
  • Technology
  • Thursday Small Group Notes
  • Time Management
  • Tutorial
  • Twitter
  • Unity
  • Video Games
  • Web Browsers
  • Web Development
  • WordPress
  • World Development
  • Year In Review

Archive

  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • August 2017
  • June 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • February 2016
  • December 2015
  • November 2015
  • November 2013
  • April 2013
  • February 2013
  • January 2013
  • September 2012
  • July 2012
  • June 2012
  • May 2012
  • January 2012
  • December 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011

“Thank you for reading! If you have any questions you can either Contact Me or comment on my posts. All images shown are either of my own creation or courtesy of Pixabay.”

© 2017 Dan Joseph // All rights reserved // Privacy Policy