Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions apps/docs/blog/articles/integration-medusa/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ This plugin adds support for two new models:
- `Asset` - represents purchased items with serial numbers or support-relevant metadata
- `ServiceInstance` - describes purchased or assigned services for the customer

Additionally, it enables creation of product references between variants with types such as spare parts, replacements, accessories, and more.

![service-instances-list](product-references.png)

These are **fully accessible via the Medusa API** and can be queried from the frontend app using our **API Harmonization Layer**.

## What does it look like in Medusa and Open Self Service?
Expand All @@ -51,14 +55,20 @@ Once integrated, O2S provides the following out-of-the-box screens:
- **(Optional) Assets page** (currently not part of open-sourced O2S)
Displays assigned/purchased devices / products.

In Medusa the plugin adds a few editing screens, e.g.:
In Medusa the plugin adds admin widgets to view and manage data, e.g.:

[//]: # (> ![Medusa plugin UI preview](medusa-plugin-ui.png))
- **Service instances list**
![Service instances list](service-instances-list.png)

- **Asset details**
![Asset details](asset-details.png)


## Technical details

- The Medusa plugin is installed via npm and automatically adds `Asset` and `ServiceInstance` entities to your Medusa instance.
The Medusa plugin was build using the standard approach outlined in [Medusa's plugin creation documentation](https://docs.medusajs.com/learn/fundamentals/plugins/create).

- Plugin is installed via npm and automatically adds `Asset` and `ServiceInstance` entities to your Medusa instance.
- These are exposed via REST API and can be used with any frontend (not only O2S).
- In O2S, you configure a Medusa integration module that maps the data to O2S’s normalized schema.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.