Commerce Modules

Fulfillment Module Options

In this document, you'll learn about the options of the Fulfillment Module.

providers#

The providers option is an array of fulfillment module providers.

When the Medusa application starts, these providers are registered and can be used to process fulfillments.

For example:

medusa-config.js
1const { Modules } = require("@medusajs/framework/utils")2
3// ...4
5module.exports = defineConfig({6  // ...7  modules: {8    [Modules.FULFILLMENT]: {9      resolve: "@medusajs/medusa/fulfillment",10      options: {11        providers: [12          {13            resolve: `@medusajs/medusa/fulfillment-manual`,14            id: "manual",15            options: {16              // provider options...17            },18          },19        ],20      },21    },22  },23})

The providers option is an array of objects that accept the following properties:

  • resolve: A string indicating either the package name of the module provider or the path to it relative to the src directory.
  • id: A string indicating the provider's unique name or ID.
  • options: An optional object of the module provider's options.
Was this page helpful?
Edit this page