chore: reorganize docs apps (#7228)

* reorganize docs apps

* add README

* fix directory

* add condition for old docs
This commit is contained in:
Shahed Nasser
2024-05-03 17:36:38 +03:00
committed by GitHub
parent 224ebb2154
commit 4fe28f5a95
6187 changed files with 601447 additions and 598226 deletions
@@ -0,0 +1,25 @@
export const metadata = {
title: `Fulfillment Provider`,
}
# {metadata.title}
In this document, youll learn what a fulfillment provider is.
## Whats a Fulfillment Provider?
A fulfillment provider implements the functionality of fulfilling items, typically using a third-party integration. Its represented by the `FulfillmentProvider` data model.
---
## How to Create a Fulfillment Provider?
A fulfillment provider is a TypeScript or JavaScript class that extends the `AbstractFulfillmentProviderService` class imported from `@medusajs/utils`. You can create it part of your Medusa application codebase, in a plugin, or in a provider module.
---
## Configure Fulfillment Providers
The Fulfillment Module accepts a `providers` option that allows you to register providers in your application. When the Medusa application starts, it registers these modules and adds records of the `FulfillmentProvider` for them.
Learn more about the `providers` option in [this documentation](../module-options/page.mdx).