Econt.bg
Automate shipping and deliveries with Econt.bg
Medusa Fulfillment Econt
Documentation | Website
Fulfillment plugin for econt.bg
Compatibility
This plugin should be compatible with versions >= 1.8.0 of Copy to clipboard@medusajs/medusa
.
Features
- Query information about cities and offices covered by Econt. Create shipping labels
How to Install
1. Run the following command in the directory of the Medusa backend:
1npm install medusa-fulfillment-econt
or
1yarn add medusa-fulfillment-econt
2. Set the following environment variables in Copy to clipboard.env
:
123ECONT_USERNAME=<YOUR_ECONT_USERNAME>ECONT_PASSWORD=<ECONT_PASSWORD>ECONT_SERVICE_URL=<ECONT_SERVICE_URL>
For econt service urls please see: JSON API
3. In Copy to clipboardmedusa-config.js
add the following at the end of the Copy to clipboardplugins
array:
1234567891011const plugins = [// ...{resolve: "medusa-fulfillment-econt",options: {username: process.env.ECONT_USERNAME,password: process.env.ECONT_PASSWORD,service_url: process.env.ECONT_SERVICE_URL || "https://demo.econt.com/ee/services",}},]
4. Routes
Copy to clipboardBACKEND_URL/store/econt/offices/cityname/:name
- search all offices for a city with Copy to clipboard:name
Copy to clipboardBACKEND_URL/store/econt/offices/name/:name
- search all offices for an office with Copy to clipboard:name
Copy to clipboardBACKEND_URL/store/econt/cities/postcode/:postcode
- search all cities with a postcode (or partial postcode) Copy to clipboard:postcode
Check out all available Medusa plugins.
Join our Discord server to meet other community members.