Feat(core-flows, medusa, types): Add delete location level api-v2 endpoint (#6727)

* add delete inventory level endpoint

* add changeset

* rename step

* rename step
This commit is contained in:
Philip Korsholm
2024-03-19 10:06:37 +01:00
committed by GitHub
parent 390bc3e72f
commit c20eb15cd9
9 changed files with 178 additions and 13 deletions
@@ -795,6 +795,17 @@ export interface IInventoryServiceNext extends IModuleService {
context?: Context
): Promise<void>
softDeleteInventoryLevels<TReturnableLinkableKeys extends string = string>(
inventoryLevelIds: string[],
config?: SoftDeleteReturn<TReturnableLinkableKeys>,
sharedContext?: Context
): Promise<Record<string, string[]> | void>
restoreInventoryLevels<TReturnableLinkableKeys extends string = string>(
inventoryLevelIds: string[],
config?: RestoreReturn<TReturnableLinkableKeys>,
sharedContext?: Context
): Promise<Record<string, string[]> | void>
/**
* This method is used to adjust the inventory level's stocked quantity. The inventory level is identified by the IDs of its associated inventory item and location.
*