docs: add vite configuration to docker guide (#14352)
This commit is contained in:
@@ -97,6 +97,7 @@ services:
|
||||
- redis
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "5173:5173"
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/medusa-store
|
||||
@@ -139,6 +140,7 @@ If this isn't the first Medusa project you're setting up with Docker on your mac
|
||||
- Use `"5433:5432"` for PostgreSQL.
|
||||
- Use `"6380:6379"` for Redis.
|
||||
- Use `"9001:9000"` for the Medusa server.
|
||||
- Use `"5174:5173"` for the Medusa Admin dashboard.
|
||||
- Update the `DATABASE_URL` and `REDIS_URL` environment variables accordingly.
|
||||
|
||||
---
|
||||
@@ -333,6 +335,8 @@ Where:
|
||||
|
||||
## 7. Update Medusa Configuration
|
||||
|
||||
### Disable SSL for PostgreSQL Connection
|
||||
|
||||
If you try to run the Medusa application now with Docker, you'll encounter an SSL error as the server tries to connect to the PostgreSQL database.
|
||||
|
||||
To resolve the error, add the following configurations in `medusa-config.ts`:
|
||||
@@ -355,6 +359,43 @@ module.exports = defineConfig({
|
||||
|
||||
You add the [projectConfig.databaseDriverOptions](../../configurations/medusa-config/page.mdx#databasedriveroptions) to disable SSL for the PostgreSQL database connection.
|
||||
|
||||
### Add Vite Configuration for Medusa Admin
|
||||
|
||||
To ensure that the Medusa Admin dashboard works correctly when running inside Docker, connects to the Medusa server, and reloads properly with Hot Module Replacement (HMR), add the following Vite configuration in `medusa-config.ts`:
|
||||
|
||||
```ts title="medusa-config.ts"
|
||||
module.exports = defineConfig({
|
||||
// ...
|
||||
admin: {
|
||||
vite: (config) => {
|
||||
return {
|
||||
...config,
|
||||
server: {
|
||||
...config.server,
|
||||
host: "0.0.0.0",
|
||||
// Allow all hosts when running in Docker (development mode)
|
||||
// In production, this should be more restrictive
|
||||
allowedHosts: [
|
||||
"localhost",
|
||||
".localhost",
|
||||
"127.0.0.1",
|
||||
],
|
||||
hmr: {
|
||||
...config.server?.hmr,
|
||||
// HMR websocket port inside container
|
||||
port: 5173,
|
||||
// Port browser connects to (exposed in docker-compose.yml)
|
||||
clientPort: 5173,
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
You configure the Vite development server to listen on all network interfaces (`0.0.0.0`) and set up HMR to work correctly within the Docker environment.
|
||||
|
||||
---
|
||||
|
||||
## 8. Add `.dockerignore`
|
||||
|
||||
@@ -123,7 +123,7 @@ export const generatedEditDates = {
|
||||
"app/learn/fundamentals/module-links/index/page.mdx": "2025-05-23T07:57:58.958Z",
|
||||
"app/learn/fundamentals/module-links/index-module/page.mdx": "2025-11-26T11:20:25.961Z",
|
||||
"app/learn/introduction/build-with-llms-ai/page.mdx": "2025-12-09T14:17:13.295Z",
|
||||
"app/learn/installation/docker/page.mdx": "2025-10-24T08:53:46.445Z",
|
||||
"app/learn/installation/docker/page.mdx": "2025-12-18T11:18:25.856Z",
|
||||
"app/learn/fundamentals/generated-types/page.mdx": "2025-07-25T13:17:35.319Z",
|
||||
"app/learn/introduction/from-v1-to-v2/page.mdx": "2025-10-29T11:55:11.531Z",
|
||||
"app/learn/debugging-and-testing/debug-workflows/page.mdx": "2025-07-30T13:45:14.117Z",
|
||||
|
||||
@@ -25254,6 +25254,7 @@ services:
|
||||
- redis
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "5173:5173"
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/medusa-store
|
||||
@@ -25296,6 +25297,7 @@ If this isn't the first Medusa project you're setting up with Docker on your mac
|
||||
- Use `"5433:5432"` for PostgreSQL.
|
||||
- Use `"6380:6379"` for Redis.
|
||||
- Use `"9001:9000"` for the Medusa server.
|
||||
- Use `"5174:5173"` for the Medusa Admin dashboard.
|
||||
- Update the `DATABASE_URL` and `REDIS_URL` environment variables accordingly.
|
||||
|
||||
***
|
||||
@@ -25469,6 +25471,8 @@ Where:
|
||||
|
||||
## 7. Update Medusa Configuration
|
||||
|
||||
### Disable SSL for PostgreSQL Connection
|
||||
|
||||
If you try to run the Medusa application now with Docker, you'll encounter an SSL error as the server tries to connect to the PostgreSQL database.
|
||||
|
||||
To resolve the error, add the following configurations in `medusa-config.ts`:
|
||||
@@ -25491,6 +25495,43 @@ module.exports = defineConfig({
|
||||
|
||||
You add the [projectConfig.databaseDriverOptions](https://docs.medusajs.com/learn/configurations/medusa-config#databasedriveroptions/index.html.md) to disable SSL for the PostgreSQL database connection.
|
||||
|
||||
### Add Vite Configuration for Medusa Admin
|
||||
|
||||
To ensure that the Medusa Admin dashboard works correctly when running inside Docker, connects to the Medusa server, and reloads properly with Hot Module Replacement (HMR), add the following Vite configuration in `medusa-config.ts`:
|
||||
|
||||
```ts title="medusa-config.ts"
|
||||
module.exports = defineConfig({
|
||||
// ...
|
||||
admin: {
|
||||
vite: (config) => {
|
||||
return {
|
||||
...config,
|
||||
server: {
|
||||
...config.server,
|
||||
host: "0.0.0.0",
|
||||
// Allow all hosts when running in Docker (development mode)
|
||||
// In production, this should be more restrictive
|
||||
allowedHosts: [
|
||||
"localhost",
|
||||
".localhost",
|
||||
"127.0.0.1",
|
||||
],
|
||||
hmr: {
|
||||
...config.server?.hmr,
|
||||
// HMR websocket port inside container
|
||||
port: 5173,
|
||||
// Port browser connects to (exposed in docker-compose.yml)
|
||||
clientPort: 5173,
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
```
|
||||
|
||||
You configure the Vite development server to listen on all network interfaces (`0.0.0.0`) and set up HMR to work correctly within the Docker environment.
|
||||
|
||||
***
|
||||
|
||||
## 8. Add `.dockerignore`
|
||||
@@ -43160,7 +43201,7 @@ const createTranslationStep = createStep(
|
||||
const translationModuleService = container.resolve(Modules.TRANSLATION)
|
||||
|
||||
await translationModuleService.deleteTranslations([translationId])
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
export const createTranslationWorkflow = createWorkflow(
|
||||
@@ -43171,7 +43212,7 @@ export const createTranslationWorkflow = createWorkflow(
|
||||
return new WorkflowResponse({
|
||||
translation,
|
||||
})
|
||||
},
|
||||
}
|
||||
)
|
||||
```
|
||||
|
||||
@@ -49065,6 +49106,7 @@ Connection to Redis in module 'workflow-engine-redis' established
|
||||
- [dismissItemReturnRequestWorkflow](https://docs.medusajs.com/references/medusa-workflows/dismissItemReturnRequestWorkflow/index.html.md)
|
||||
- [exchangeAddNewItemValidationStep](https://docs.medusajs.com/references/medusa-workflows/exchangeAddNewItemValidationStep/index.html.md)
|
||||
- [exchangeRequestItemReturnValidationStep](https://docs.medusajs.com/references/medusa-workflows/exchangeRequestItemReturnValidationStep/index.html.md)
|
||||
- [exportOrdersWorkflow](https://docs.medusajs.com/references/medusa-workflows/exportOrdersWorkflow/index.html.md)
|
||||
- [fetchShippingOptionForOrderWorkflow](https://docs.medusajs.com/references/medusa-workflows/fetchShippingOptionForOrderWorkflow/index.html.md)
|
||||
- [getOrderDetailWorkflow](https://docs.medusajs.com/references/medusa-workflows/getOrderDetailWorkflow/index.html.md)
|
||||
- [getOrdersListWorkflow](https://docs.medusajs.com/references/medusa-workflows/getOrdersListWorkflow/index.html.md)
|
||||
@@ -49255,6 +49297,10 @@ Connection to Redis in module 'workflow-engine-redis' established
|
||||
- [setTaxRateRulesWorkflow](https://docs.medusajs.com/references/medusa-workflows/setTaxRateRulesWorkflow/index.html.md)
|
||||
- [updateTaxRatesWorkflow](https://docs.medusajs.com/references/medusa-workflows/updateTaxRatesWorkflow/index.html.md)
|
||||
- [updateTaxRegionsWorkflow](https://docs.medusajs.com/references/medusa-workflows/updateTaxRegionsWorkflow/index.html.md)
|
||||
- [batchTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/batchTranslationsWorkflow/index.html.md)
|
||||
- [createTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/createTranslationsWorkflow/index.html.md)
|
||||
- [deleteTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/deleteTranslationsWorkflow/index.html.md)
|
||||
- [updateTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/updateTranslationsWorkflow/index.html.md)
|
||||
- [createUserAccountWorkflow](https://docs.medusajs.com/references/medusa-workflows/createUserAccountWorkflow/index.html.md)
|
||||
- [createUsersWorkflow](https://docs.medusajs.com/references/medusa-workflows/createUsersWorkflow/index.html.md)
|
||||
- [deleteUsersWorkflow](https://docs.medusajs.com/references/medusa-workflows/deleteUsersWorkflow/index.html.md)
|
||||
@@ -49293,6 +49339,7 @@ Connection to Redis in module 'workflow-engine-redis' established
|
||||
- [reserveInventoryStep](https://docs.medusajs.com/references/medusa-workflows/steps/reserveInventoryStep/index.html.md)
|
||||
- [retrieveCartStep](https://docs.medusajs.com/references/medusa-workflows/steps/retrieveCartStep/index.html.md)
|
||||
- [setTaxLinesForItemsStep](https://docs.medusajs.com/references/medusa-workflows/steps/setTaxLinesForItemsStep/index.html.md)
|
||||
- [updateCartItemsTranslationsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateCartItemsTranslationsStep/index.html.md)
|
||||
- [updateCartPromotionsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateCartPromotionsStep/index.html.md)
|
||||
- [updateCartsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateCartsStep/index.html.md)
|
||||
- [updateLineItemsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateLineItemsStep/index.html.md)
|
||||
@@ -49310,6 +49357,7 @@ Connection to Redis in module 'workflow-engine-redis' established
|
||||
- [deleteEntitiesStep](https://docs.medusajs.com/references/medusa-workflows/steps/deleteEntitiesStep/index.html.md)
|
||||
- [dismissRemoteLinkStep](https://docs.medusajs.com/references/medusa-workflows/steps/dismissRemoteLinkStep/index.html.md)
|
||||
- [emitEventStep](https://docs.medusajs.com/references/medusa-workflows/steps/emitEventStep/index.html.md)
|
||||
- [getTranslatedLineItemsStep](https://docs.medusajs.com/references/medusa-workflows/steps/getTranslatedLineItemsStep/index.html.md)
|
||||
- [removeRemoteLinkStep](https://docs.medusajs.com/references/medusa-workflows/steps/removeRemoteLinkStep/index.html.md)
|
||||
- [updateRemoteLinksStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateRemoteLinksStep/index.html.md)
|
||||
- [useQueryGraphStep](https://docs.medusajs.com/references/medusa-workflows/steps/useQueryGraphStep/index.html.md)
|
||||
@@ -49404,6 +49452,7 @@ Connection to Redis in module 'workflow-engine-redis' established
|
||||
- [deleteOrderLineItems](https://docs.medusajs.com/references/medusa-workflows/steps/deleteOrderLineItems/index.html.md)
|
||||
- [deleteOrderShippingMethods](https://docs.medusajs.com/references/medusa-workflows/steps/deleteOrderShippingMethods/index.html.md)
|
||||
- [deleteReturnsStep](https://docs.medusajs.com/references/medusa-workflows/steps/deleteReturnsStep/index.html.md)
|
||||
- [exportOrdersStep](https://docs.medusajs.com/references/medusa-workflows/steps/exportOrdersStep/index.html.md)
|
||||
- [listOrderChangeActionsByTypeStep](https://docs.medusajs.com/references/medusa-workflows/steps/listOrderChangeActionsByTypeStep/index.html.md)
|
||||
- [previewOrderChangeStep](https://docs.medusajs.com/references/medusa-workflows/steps/previewOrderChangeStep/index.html.md)
|
||||
- [registerOrderChangesStep](https://docs.medusajs.com/references/medusa-workflows/steps/registerOrderChangesStep/index.html.md)
|
||||
@@ -49413,6 +49462,7 @@ Connection to Redis in module 'workflow-engine-redis' established
|
||||
- [setOrderTaxLinesForItemsStep](https://docs.medusajs.com/references/medusa-workflows/steps/setOrderTaxLinesForItemsStep/index.html.md)
|
||||
- [updateOrderChangeActionsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateOrderChangeActionsStep/index.html.md)
|
||||
- [updateOrderChangesStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateOrderChangesStep/index.html.md)
|
||||
- [updateOrderItemsTranslationsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateOrderItemsTranslationsStep/index.html.md)
|
||||
- [updateOrderShippingMethodsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateOrderShippingMethodsStep/index.html.md)
|
||||
- [updateOrdersStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateOrdersStep/index.html.md)
|
||||
- [updateReturnItemsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateReturnItemsStep/index.html.md)
|
||||
@@ -49538,6 +49588,10 @@ Connection to Redis in module 'workflow-engine-redis' established
|
||||
- [listTaxRateRuleIdsStep](https://docs.medusajs.com/references/medusa-workflows/steps/listTaxRateRuleIdsStep/index.html.md)
|
||||
- [updateTaxRatesStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateTaxRatesStep/index.html.md)
|
||||
- [updateTaxRegionsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateTaxRegionsStep/index.html.md)
|
||||
- [createTranslationsStep](https://docs.medusajs.com/references/medusa-workflows/steps/createTranslationsStep/index.html.md)
|
||||
- [deleteTranslationsStep](https://docs.medusajs.com/references/medusa-workflows/steps/deleteTranslationsStep/index.html.md)
|
||||
- [updateTranslationsStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateTranslationsStep/index.html.md)
|
||||
- [validateTranslationsStep](https://docs.medusajs.com/references/medusa-workflows/steps/validateTranslationsStep/index.html.md)
|
||||
- [createUsersStep](https://docs.medusajs.com/references/medusa-workflows/steps/createUsersStep/index.html.md)
|
||||
- [deleteUsersStep](https://docs.medusajs.com/references/medusa-workflows/steps/deleteUsersStep/index.html.md)
|
||||
- [updateUsersStep](https://docs.medusajs.com/references/medusa-workflows/steps/updateUsersStep/index.html.md)
|
||||
@@ -51009,6 +51063,79 @@ The following workflows emit this event when they're executed. These workflows a
|
||||
|
||||
***
|
||||
|
||||
## Translation Events
|
||||
|
||||
### Summary
|
||||
|
||||
|Event|Description|
|
||||
|---|---|
|
||||
|translation.created|Emitted when translations are created.|
|
||||
|translation.updated|Emitted when translations are updated.|
|
||||
|translation.deleted|Emitted when translations are deleted.|
|
||||
|
||||
### translation.created

|
||||
|
||||
Emitted when translations are created.
|
||||
|
||||
#### Payload
|
||||
|
||||
```ts
|
||||
{
|
||||
id, // The ID of the translation
|
||||
}
|
||||
```
|
||||
|
||||
#### Workflows Emitting this Event
|
||||
|
||||
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the [Store](https://docs.medusajs.com/api/store) and [Admin](https://docs.medusajs.com/api/admin) API references.
|
||||
|
||||
- [createTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/createTranslationsWorkflow/index.html.md)
|
||||
- [batchTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/batchTranslationsWorkflow/index.html.md)
|
||||
|
||||
***
|
||||
|
||||
### translation.updated

|
||||
|
||||
Emitted when translations are updated.
|
||||
|
||||
#### Payload
|
||||
|
||||
```ts
|
||||
{
|
||||
id, // The ID of the translation
|
||||
}
|
||||
```
|
||||
|
||||
#### Workflows Emitting this Event
|
||||
|
||||
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the [Store](https://docs.medusajs.com/api/store) and [Admin](https://docs.medusajs.com/api/admin) API references.
|
||||
|
||||
- [updateTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/updateTranslationsWorkflow/index.html.md)
|
||||
- [batchTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/batchTranslationsWorkflow/index.html.md)
|
||||
|
||||
***
|
||||
|
||||
### translation.deleted

|
||||
|
||||
Emitted when translations are deleted.
|
||||
|
||||
#### Payload
|
||||
|
||||
```ts
|
||||
{
|
||||
id, // The ID of the translation
|
||||
}
|
||||
```
|
||||
|
||||
#### Workflows Emitting this Event
|
||||
|
||||
The following workflows emit this event when they're executed. These workflows are executed by Medusa's API routes. You can also view the events emitted by API routes in the [Store](https://docs.medusajs.com/api/store) and [Admin](https://docs.medusajs.com/api/admin) API references.
|
||||
|
||||
- [deleteTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/deleteTranslationsWorkflow/index.html.md)
|
||||
- [batchTranslationsWorkflow](https://docs.medusajs.com/references/medusa-workflows/batchTranslationsWorkflow/index.html.md)
|
||||
|
||||
***
|
||||
|
||||
## User Events
|
||||
|
||||
### Summary
|
||||
@@ -122081,6 +122208,7 @@ To learn more about the commerce features that Medusa provides, check out Medusa
|
||||
- [getTokenStorageInfo\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getTokenStorageInfo_/index.html.md)
|
||||
- [getToken\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.getToken_/index.html.md)
|
||||
- [initClient](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.initClient/index.html.md)
|
||||
- [setLocale](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.setLocale/index.html.md)
|
||||
- [setToken](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.setToken/index.html.md)
|
||||
- [setToken\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.setToken_/index.html.md)
|
||||
- [throwError\_](https://docs.medusajs.com/references/js_sdk/admin/Client/methods/js_sdk.admin.Client.throwError_/index.html.md)
|
||||
@@ -122172,6 +122300,8 @@ To learn more about the commerce features that Medusa provides, check out Medusa
|
||||
- [list](https://docs.medusajs.com/references/js_sdk/admin/Invite/methods/js_sdk.admin.Invite.list/index.html.md)
|
||||
- [resend](https://docs.medusajs.com/references/js_sdk/admin/Invite/methods/js_sdk.admin.Invite.resend/index.html.md)
|
||||
- [retrieve](https://docs.medusajs.com/references/js_sdk/admin/Invite/methods/js_sdk.admin.Invite.retrieve/index.html.md)
|
||||
- [list](https://docs.medusajs.com/references/js_sdk/admin/Locale/methods/js_sdk.admin.Locale.list/index.html.md)
|
||||
- [retrieve](https://docs.medusajs.com/references/js_sdk/admin/Locale/methods/js_sdk.admin.Locale.retrieve/index.html.md)
|
||||
- [list](https://docs.medusajs.com/references/js_sdk/admin/Notification/methods/js_sdk.admin.Notification.list/index.html.md)
|
||||
- [retrieve](https://docs.medusajs.com/references/js_sdk/admin/Notification/methods/js_sdk.admin.Notification.retrieve/index.html.md)
|
||||
- [archive](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.archive/index.html.md)
|
||||
@@ -122182,6 +122312,7 @@ To learn more about the commerce features that Medusa provides, check out Medusa
|
||||
- [createCreditLine](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.createCreditLine/index.html.md)
|
||||
- [createFulfillment](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.createFulfillment/index.html.md)
|
||||
- [createShipment](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.createShipment/index.html.md)
|
||||
- [export](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.export/index.html.md)
|
||||
- [list](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.list/index.html.md)
|
||||
- [listChanges](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.listChanges/index.html.md)
|
||||
- [listLineItems](https://docs.medusajs.com/references/js_sdk/admin/Order/methods/js_sdk.admin.Order.listLineItems/index.html.md)
|
||||
@@ -122214,6 +122345,7 @@ To learn more about the commerce features that Medusa provides, check out Medusa
|
||||
- [delete](https://docs.medusajs.com/references/js_sdk/admin/PriceList/methods/js_sdk.admin.PriceList.delete/index.html.md)
|
||||
- [linkProducts](https://docs.medusajs.com/references/js_sdk/admin/PriceList/methods/js_sdk.admin.PriceList.linkProducts/index.html.md)
|
||||
- [list](https://docs.medusajs.com/references/js_sdk/admin/PriceList/methods/js_sdk.admin.PriceList.list/index.html.md)
|
||||
- [prices](https://docs.medusajs.com/references/js_sdk/admin/PriceList/methods/js_sdk.admin.PriceList.prices/index.html.md)
|
||||
- [retrieve](https://docs.medusajs.com/references/js_sdk/admin/PriceList/methods/js_sdk.admin.PriceList.retrieve/index.html.md)
|
||||
- [update](https://docs.medusajs.com/references/js_sdk/admin/PriceList/methods/js_sdk.admin.PriceList.update/index.html.md)
|
||||
- [create](https://docs.medusajs.com/references/js_sdk/admin/PricePreference/methods/js_sdk.admin.PricePreference.create/index.html.md)
|
||||
@@ -122366,6 +122498,10 @@ To learn more about the commerce features that Medusa provides, check out Medusa
|
||||
- [list](https://docs.medusajs.com/references/js_sdk/admin/TaxRegion/methods/js_sdk.admin.TaxRegion.list/index.html.md)
|
||||
- [retrieve](https://docs.medusajs.com/references/js_sdk/admin/TaxRegion/methods/js_sdk.admin.TaxRegion.retrieve/index.html.md)
|
||||
- [update](https://docs.medusajs.com/references/js_sdk/admin/TaxRegion/methods/js_sdk.admin.TaxRegion.update/index.html.md)
|
||||
- [batch](https://docs.medusajs.com/references/js_sdk/admin/Translation/methods/js_sdk.admin.Translation.batch/index.html.md)
|
||||
- [list](https://docs.medusajs.com/references/js_sdk/admin/Translation/methods/js_sdk.admin.Translation.list/index.html.md)
|
||||
- [settings](https://docs.medusajs.com/references/js_sdk/admin/Translation/methods/js_sdk.admin.Translation.settings/index.html.md)
|
||||
- [statistics](https://docs.medusajs.com/references/js_sdk/admin/Translation/methods/js_sdk.admin.Translation.statistics/index.html.md)
|
||||
- [create](https://docs.medusajs.com/references/js_sdk/admin/Upload/methods/js_sdk.admin.Upload.create/index.html.md)
|
||||
- [delete](https://docs.medusajs.com/references/js_sdk/admin/Upload/methods/js_sdk.admin.Upload.delete/index.html.md)
|
||||
- [presignedUrl](https://docs.medusajs.com/references/js_sdk/admin/Upload/methods/js_sdk.admin.Upload.presignedUrl/index.html.md)
|
||||
@@ -122405,6 +122541,7 @@ To learn more about the commerce features that Medusa provides, check out Medusa
|
||||
- [collection](https://docs.medusajs.com/references/js-sdk/store/collection/index.html.md)
|
||||
- [customer](https://docs.medusajs.com/references/js-sdk/store/customer/index.html.md)
|
||||
- [fulfillment](https://docs.medusajs.com/references/js-sdk/store/fulfillment/index.html.md)
|
||||
- [locale](https://docs.medusajs.com/references/js-sdk/store/locale/index.html.md)
|
||||
- [order](https://docs.medusajs.com/references/js-sdk/store/order/index.html.md)
|
||||
- [payment](https://docs.medusajs.com/references/js-sdk/store/payment/index.html.md)
|
||||
- [product](https://docs.medusajs.com/references/js-sdk/store/product/index.html.md)
|
||||
@@ -128517,6 +128654,8 @@ Download this reference as an OpenApi YAML file. You can import this file to too
|
||||
- [GET /admin/invites/{id}](https://docs.medusajs.com/api/admin#invites_getinvitesid)
|
||||
- [DELETE /admin/invites/{id}](https://docs.medusajs.com/api/admin#invites_deleteinvitesid)
|
||||
- [POST /admin/invites/{id}/resend](https://docs.medusajs.com/api/admin#invites_postinvitesidresend)
|
||||
- [GET /admin/locales](https://docs.medusajs.com/api/admin#locales_getlocales)
|
||||
- [GET /admin/locales/{code}](https://docs.medusajs.com/api/admin#locales_getlocalescode)
|
||||
- [GET /admin/notifications](https://docs.medusajs.com/api/admin#notifications_getnotifications)
|
||||
- [GET /admin/notifications/{id}](https://docs.medusajs.com/api/admin#notifications_getnotificationsid)
|
||||
- [POST /admin/order-changes/{id}](https://docs.medusajs.com/api/admin#order-changes_postorderchangesid)
|
||||
@@ -128532,6 +128671,7 @@ Download this reference as an OpenApi YAML file. You can import this file to too
|
||||
- [POST /admin/order-edits/{id}/shipping-method/{action_id}](https://docs.medusajs.com/api/admin#order-edits_postordereditsidshippingmethodaction_id)
|
||||
- [DELETE /admin/order-edits/{id}/shipping-method/{action_id}](https://docs.medusajs.com/api/admin#order-edits_deleteordereditsidshippingmethodaction_id)
|
||||
- [GET /admin/orders](https://docs.medusajs.com/api/admin#orders_getorders)
|
||||
- [POST /admin/orders/export](https://docs.medusajs.com/api/admin#orders_postordersexport)
|
||||
- [GET /admin/orders/{id}](https://docs.medusajs.com/api/admin#orders_getordersid)
|
||||
- [POST /admin/orders/{id}](https://docs.medusajs.com/api/admin#orders_postordersid)
|
||||
- [POST /admin/orders/{id}/archive](https://docs.medusajs.com/api/admin#orders_postordersidarchive)
|
||||
@@ -128562,6 +128702,7 @@ Download this reference as an OpenApi YAML file. You can import this file to too
|
||||
- [GET /admin/price-lists/{id}](https://docs.medusajs.com/api/admin#price-lists_getpricelistsid)
|
||||
- [POST /admin/price-lists/{id}](https://docs.medusajs.com/api/admin#price-lists_postpricelistsid)
|
||||
- [DELETE /admin/price-lists/{id}](https://docs.medusajs.com/api/admin#price-lists_deletepricelistsid)
|
||||
- [GET /admin/price-lists/{id}/prices](https://docs.medusajs.com/api/admin#price-lists_getpricelistsidprices)
|
||||
- [POST /admin/price-lists/{id}/prices/batch](https://docs.medusajs.com/api/admin#price-lists_postpricelistsidpricesbatch)
|
||||
- [POST /admin/price-lists/{id}/products](https://docs.medusajs.com/api/admin#price-lists_postpricelistsidproducts)
|
||||
- [GET /admin/price-preferences](https://docs.medusajs.com/api/admin#price-preferences_getpricepreferences)
|
||||
@@ -128718,6 +128859,10 @@ Download this reference as an OpenApi YAML file. You can import this file to too
|
||||
- [POST /admin/tax-regions/{id}](https://docs.medusajs.com/api/admin#tax-regions_posttaxregionsid)
|
||||
- [DELETE /admin/tax-regions/{id}](https://docs.medusajs.com/api/admin#tax-regions_deletetaxregionsid)
|
||||
- [GET /admin/transaction-groups](https://docs.medusajs.com/api/admin#transaction-groups_gettransactiongroups)
|
||||
- [GET /admin/translations](https://docs.medusajs.com/api/admin#translations_gettranslations)
|
||||
- [POST /admin/translations/batch](https://docs.medusajs.com/api/admin#translations_posttranslationsbatch)
|
||||
- [GET /admin/translations/settings](https://docs.medusajs.com/api/admin#translations_gettranslationssettings)
|
||||
- [GET /admin/translations/statistics](https://docs.medusajs.com/api/admin#translations_gettranslationsstatistics)
|
||||
- [POST /admin/uploads](https://docs.medusajs.com/api/admin#uploads_postuploads)
|
||||
- [POST /admin/uploads/presigned-urls](https://docs.medusajs.com/api/admin#uploads_postuploadspresignedurls)
|
||||
- [GET /admin/uploads/{id}](https://docs.medusajs.com/api/admin#uploads_getuploadsid)
|
||||
@@ -128792,6 +128937,7 @@ Download this reference as an OpenApi YAML file. You can import this file to too
|
||||
- [DELETE /store/customers/me/addresses/{address_id}](https://docs.medusajs.com/api/store#customers_deletecustomersmeaddressesaddress_id)
|
||||
- [GET /store/gift-cards/{idOrCode}](https://docs.medusajs.com/api/store#gift-cards_getgiftcardsidorcode)
|
||||
- [POST /store/gift-cards/{idOrCode}/redeem](https://docs.medusajs.com/api/store#gift-cards_postgiftcardsidorcoderedeem)
|
||||
- [GET /store/locales](https://docs.medusajs.com/api/store#locales_getlocales)
|
||||
- [GET /store/orders](https://docs.medusajs.com/api/store#orders_getorders)
|
||||
- [GET /store/orders/{id}](https://docs.medusajs.com/api/store#orders_getordersid)
|
||||
- [POST /store/orders/{id}/transfer/accept](https://docs.medusajs.com/api/store#orders_postordersidtransferaccept)
|
||||
|
||||
Reference in New Issue
Block a user