Products | Inventory

Add a range of inventory items to the OMS. This will override existing items even if the values are identical, and also create inventory transactions. Please note: It is strongly recommended that you only use this endpoint for one-time imports. For everything else (such as continuous updates, new import, nightly full imports, etc.), please use UpdateMany instead.

post/api/Inventory/AddMany

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/AddMany
  • Auth: API key in header Authorization

Request body

skustring nullable

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

warehouseCodestring nullable

Warehouse Code / ID

physicalWarehouseCodestring nullable

Only in use with virtual stock locations in Omnium. Specifies the physical warehouse location of a virtual inventory item. NB! Must be null for all physical inventories.

isVirtualboolean nullable

Only in use with virtual stock locations in Omnium. Indicates that this is a virtual inventory item - representing a virtual allocation of physical inventory located at the PhysicalWarehouse.

inventorynumber

Number of items in stock

reservedInventorynumber

Number of reserved items

calculatedInventorynumber

Calculated inventory (used for packages where available inventory is calculated from components)

locationstring nullable

Item (warehouse) location

maxQuantitynumber

Max inventory quantity

minQuantitynumber

Minimum inventory quantity

disableReorderSuggestionsboolean nullable

When true, no reorder suggestions are generated for this inventory item (SKU/warehouse combination)

createdstring date-time

Created date

modifiedstring date-time

Modified date

reorderMinQuantitynumber

Minimum number of items to order

costnumber

The cost price per unit for this inventory item

costTotalnumber

The current total cost value, calculated as Quantity * Cost.

costCurrencystring nullable

The currency of the cost price

Response

Success

Changes

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