feat: Add HTTP endpoints and workflows for price preference management (#7960)
REF CORE-2376 Remaining pieces are adding UI to manage the flag, showing the flag in price editor, plugging it in cart calculations, and https://github.com/medusajs/medusa/pull/7827
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getOrdersListlWorkflow } from "@medusajs/core-flows"
|
||||
import { getOrdersListWorkflow } from "@medusajs/core-flows"
|
||||
import { OrderDTO } from "@medusajs/types"
|
||||
import {
|
||||
AuthenticatedMedusaRequest,
|
||||
@@ -17,7 +17,7 @@ export const GET = async (
|
||||
...req.remoteQueryConfig.pagination,
|
||||
}
|
||||
|
||||
const workflow = getOrdersListlWorkflow(req.scope)
|
||||
const workflow = getOrdersListWorkflow(req.scope)
|
||||
const { result } = await workflow.run({
|
||||
input: {
|
||||
fields: req.remoteQueryConfig.fields,
|
||||
|
||||
Reference in New Issue
Block a user