Purchase Orders | Deliveries

Process goods reception

Process goods reception

post/api/Deliveries/ProcessGoodsReception

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

Request body

lineItemIdstring nullable

Line item ID

purchaseOrderIdstring nullable

Optional, but recommended. Id of the purchase order the line item belongs to. Line item ids are only unique within a single purchase order, so without this the line item id has to be unique across all purchase orders for the line to be resolved.

deliveredQuantitynumber

Quantity delivered

costPricenumber

Cost price of delivery (optional)

warehouseCodestring nullable

Warehouse code of delivery (optional)

updateProductCostPriceboolean

If true, product will be updated with new cost price

receiveAsUnallocatedboolean

Only relevant when using VSL - If true then the inventory is not distributed to the virtual stock locations, resulting in unallocated inventory on the physical warehouse.

allocateBasedOnRulesboolean nullable

Only relevant when using VSL - If set then it overrides the same property on the purchase order lineItem. If true then the inventory rule engine is used to distribute inventory over the virtual stock locations based on specified rules. If false then the specified quantities on the virtual warehouses allocation lines are used to distribute inventory over the virtual stock locations.

goodsReceptionIdstring nullable

Optional. If specified, the value is stored on the InventoryTransaction. Before processing the goods reception, the system checks for any existing InventoryTransaction with the same GoodsReceptionId. If a match is found, processing is cancelled to prevent duplicate handling.

Response

Success

Changes

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