chore: add version and deprecated tags to import routes and methods (#12829)
This commit is contained in:
@@ -11,6 +11,9 @@ import { IWorkflowEngineService } from "@medusajs/framework/types"
|
||||
import { Modules, TransactionHandlerType } from "@medusajs/framework/utils"
|
||||
import { StepResponse } from "@medusajs/framework/workflows-sdk"
|
||||
|
||||
/**
|
||||
* @deprecated use `POST /admin/products/imports/:transaction_id/confirm` instead.
|
||||
*/
|
||||
export const POST = async (
|
||||
req: AuthenticatedMedusaRequest,
|
||||
res: MedusaResponse
|
||||
|
||||
@@ -6,6 +6,9 @@ import { HttpTypes } from "@medusajs/framework/types"
|
||||
import { MedusaError } from "@medusajs/framework/utils"
|
||||
import { importProductsWorkflow } from "@medusajs/core-flows"
|
||||
|
||||
/**
|
||||
* @deprecated use `POST /admin/products/imports` instead.
|
||||
*/
|
||||
export const POST = async (
|
||||
req: AuthenticatedMedusaRequest<HttpTypes.AdminImportProductRequest>,
|
||||
res: MedusaResponse<HttpTypes.AdminImportProductResponse>
|
||||
|
||||
Reference in New Issue
Block a user