Products | Inventory

Decrease reserved inventory for one or more inventory items. Only the reserved inventory level is changed - physical inventory is left untouched. Reserved inventory will not go below zero.

post/api/Inventory/DecreaseReservedInventory

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/Inventory/DecreaseReservedInventory
  • Auth: API key in header Authorization

Request body

skuIdstring required

Primary identifier for the inventory item, should represent the product SKU / Code / Variant / ID

warehouseCodestring required

Warehouse Code / ID

virtualWarehouseCodestring nullable

Only in use with virtual stock locations in Omnium. Specifies the virtual warehouse location of a virtual inventory item.

quantitynumber

The quantity to subtract from reserved inventory. Must be greater than zero.

orderIdstring nullable

[Optional] The order Id related to the reservation.

transactionReferencestring required

Idempotency key for this reservation. If a transaction with this reference already exists, the request is skipped instead of being applied again.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.