Skip to main content

Medusa

This package provides integration with Medusa - the open-source commerce platform.

It is used on Orders, Assets and Services screens in the frontend app. The products module allows also for rendering product lists and its details page.

The integration can be further extended to cover more Medusa endpoints and other scenarios in the frontend app.

Requirements

To use it, you must install it into the API Harmonization server by running:

npm install @o2s/integrations.medusajs --workspace=@o2s/api

This integration relies upon the following environmental variables:

nametypedescription
MEDUSAJS_BASE_URLstringthe base URL pointing to the domain hosting your Medusa instance
MEDUSAJS_PUBLISHABLE_API_KEYstringA string indicating the publishable API key to use in the storefront. You can retrieve it from the Medusa Admin.
MEDUSAJS_ADMIN_API_KEYstringA string indicating the admin user's API key.

Go to Medusa JS SDK docs to learn how to set up API authentication keys: Medusa JS SDK

Supported modules

This integration handles following base modules from the framework:

Dependencies

This integration relies on:

  • our custom Medusa plugin used for management and retrieval of Assets and ServiceInstances, and setting product relations in Medusa Admin Panel