Dan Joseph - Bible Study Notes, Book Reviews, and Personal Stuff.
  • Home
  • About
  • Privacy
Home
About
Contact Dan
Privacy
  • Home
  • About
  • Contact Dan
  • Privacy
Dan Joseph - Bible Study Notes, Book Reviews, and Personal Stuff.
Magento, Magento 2, Magento 2 REST API

Magento 2, Exporting Orders Through REST

We have a an Inventory and Order Management system that is tailored towards our business. It was written several years ago and has been evolving ever since. Magento has good order management built in, but we need more. Shipping, customer tracking, order sourcing and other key features don’t exist for us inside Magento. Exporting orders is a key function of the framework we rely on daily.

Continue reading

We have a an Inventory and Order Management system that is tailored towards our business. It was written several years ago and has been evolving ever since. Magento has good order management built in, but we need more. Shipping, customer tracking, order sourcing and other key features don’t exist for us inside Magento. Exporting orders is a key function of the framework we rely on daily.

Continue reading
January 16, 2017by Dan
Magento 2, Magento 2 REST API

Magento 2 REST API: Conclusion

I’ve taken you through how the Magento 2 API works. This is where I send you off on your magical journey. There are lots of integration points that you can access with this API, and now you can write even more for yourself. The fundamentals are there, and you should get the gist of how things work.

Additional reading might help if you’re new to Magento, PHP, and APIs:

Magento’s Dev Docs
PHP.net
RESTful API Tutorial

Good luck on your adventure!

-Dan

July 27, 2016by Dan
Magento 2, Magento 2 REST API

Magento 2 REST API: Part 5, Batch and Extending the API

The way we handle our inventory is to do a daily export of pricing and quantity from our inventory management system. This “export” has a legacy function of generating CSV files for uploading to various sales channels. Enter a plan to modernize, we kept the process and naming the same for our people, but created API calls that send out a batch of products. Magento by design takes one item at a time. Good or bad, this is just how it is. I found things a little slow, and wanted to be able to send over a batch of products, so I looked into extending the API.

Continue reading

July 26, 2016by Dan
Magento 2, Magento 2 REST API

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
Magento 2, Magento 2 REST API

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
Magento 2, Magento 2 REST API

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
Magento 2, Magento 2 REST API

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
Magento 2, Magento 2 REST API

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:

Follow My Posts!

Follow me to get instant notifications on new posts.

Join 1,111 other subscribers

Recent Posts

  • A Savior Is Born
  • My Heart Is Your’s
  • Abounding in Thanksgiving
  • His Workmanship is You
  • Live in Harmony

Categories

  • A.J.
  • Bible
    • Bible Study
    • Bible Verse
    • Colossians
    • Daniel
    • Ephesians
    • Galations
    • Genesis
    • Heaven
    • Isaiah
    • Israel and Today
    • Jude
    • Judges
    • Leviticus
    • Luke
    • Malachi
    • Matthew
    • Proverbs
    • Proverbs Study
    • Romans
    • Salvation
    • Spiritual Gifts
    • Walk As Christ Walked
  • Christian Growth
  • Encouragement
  • Ephesians
  • Inspiration
    • Song
  • Magento
    • Intro To Magento 2
    • Magento 2
    • Magento 2 REST API
  • Review
    • Book Review

Archive

  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • May 2020
  • November 2019
  • September 2019
  • August 2019
  • January 2019
  • July 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • August 2017
  • June 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • August 2016
  • July 2016
  • June 2016
  • November 2013

Follow My Posts!

Follow me to get instant notifications on new posts.Follow our blog without newsletters or other notices.

Join 1,111 other subscribers

Recent Posts

  • A Savior Is Born
  • My Heart Is Your’s
  • Abounding in Thanksgiving
  • His Workmanship is You
  • Live in Harmony

Categories

  • A.J.
  • Bible
    • Bible Study
    • Bible Verse
    • Colossians
    • Daniel
    • Ephesians
    • Galations
    • Genesis
    • Heaven
    • Isaiah
    • Israel and Today
    • Jude
    • Judges
    • Leviticus
    • Luke
    • Malachi
    • Matthew
    • Proverbs
    • Proverbs Study
    • Romans
    • Salvation
    • Spiritual Gifts
    • Walk As Christ Walked
  • Christian Growth
  • Encouragement
  • Ephesians
  • Inspiration
    • Song
  • Magento
    • Intro To Magento 2
    • Magento 2
    • Magento 2 REST API
  • Review
    • Book Review

Archive

  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • May 2020
  • November 2019
  • September 2019
  • August 2019
  • January 2019
  • July 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • August 2017
  • June 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • August 2016
  • July 2016
  • June 2016
  • November 2013

“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