Mike Hubbard
Author Mike Hubbard
Frontend Developer
Posted in Software & Development , Video , Drupal , Tech Talk
September 11, 2018
read
Back to blog

Decouple Drupal Commerce with the JSON API Module

There is a lot of talk out there right now about “decoupled” or “headless” open source eCommerce platforms. I won’t get into why that is in this article, but I will show you how easy it is to enable a full REST API for your Drupal 8 and Drupal Commerce platform in JSON format. It’s literally the enabling of a module… that’s it! Let’s take a look.

 

 

In this Acro Media Tech Talk video, you’ll learn a little bit about the module used to expose the API, where to find documentation, and see an additional module that enhances the experience working with the API. Using our Drupal Commerce demo site as an example, you’ll see where you can view and modify the site resources as well as how to view the data for each resources in JSON format.

The data structure of Drupal is well suited to the JSON API which makes Drupal an excellent choice as a backend content-creation area for a decoupled application. This video will get you started, but what you ultimately do with that data is up to you!

Demo Drupal Commerce today! View our demo site.

Additional details:

Commerce Images: An Image Management Module for Drupal Commerce

At Acro Media, we’re very attentive to the needs of our clients. We’re constantly looking for newer and better ways of helping them do “Drupally” ...
Keep Reading »

Installing Drupal Commerce 2 Using Lando

In this video, Josh Miller shows you how to install Drupal Commerce 2 using a local development tool called Lando. Further instructions are included ...
Keep Reading »

Decoupling AcroMedia.com with Drupal 9 & React

How we jumped head-first into decoupling Drupal with a React-based design system built for performance and brand consistency.
Keep Reading »

Fields marked with * are required.

×
×