Purchase Orders | Deliveries

Create delivery with purchase order lines. Use either SKU or Code to identify line items. Package SKU ID can be set but is not required.

Create delivery from order lines. Use either SKU or Code to identify line items. Package SKU ID can be set but is not required.

post/api/Deliveries/CreateDelivery/{purchaseOrderId}

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/CreateDelivery/{purchaseOrderId}
  • Auth: API key in header Authorization

Path parameters

purchaseOrderIdstring nullable required

Query parameters

existingDeliveryIdstring nullable

If set, the purchase order lines will be added to the existing delivery

cancelRemainingLineItemsboolean nullable

If true, remaining line items on purchase order will be cancelled

expectedDeliveryDatestring date-time nullable
barcodestring nullable

Use this to add barcode to the shipment. Used for goodsreception

newDeliveryIdstring nullable

You can pick the Id of the new delivery. Do this at your own responsibility.

preventDuplicateLineItemsboolean nullable

If true, the request will fail with BadRequest if duplicate line item IDs are found

Request body

lineItemIdstring nullable

Line item ID

quantitynumber

Quantity

codestring nullable

Quantity

packageBarcodestring nullable

The Barcode of the kolli/package that contains this lineItem. Can be the same over multiple lineitems

Response

Success

idstring nullable

ID of the delivery.

modifiedstring date-time nullable

Date and time when the delivery was last modified.

createdstring date-time nullable

Date and time when the delivery was created.

isCountedboolean

Indicates whether the delivery quantity has been verified before goods reception.

deliveryTrackingNumberstring nullable

Tracking number associated with the delivery.

deliveryTrackingLinkstring nullable

Tracking link associated with the delivery.

warehouseCodestring nullable

Code of the receiving warehouse associated with the delivery.

supplierWarehouseCodestring nullable

Code of the supplier warehouse associated with the delivery (Internal transfers).

deliveryProviderstring nullable

Provider of the delivery.

invoiceNumberstring nullable

Invoice number associated with the delivery.

estimatedTimeOfDeparturestring date-time nullable

Estimated time of departure for the delivery.

estimatedTimeOfArrivalstring date-time nullable

Estimated time of arrival for the delivery.

invoiceDatestring date-time nullable

Invoice date associated with the delivery.

suppliersstring[] nullable

List of suppliers

supplierIdsstring[] nullable

List of supplier Ids

deliveryStatusstring nullable

Status of the delivery.

isAutoDeliveryStatusDisabledboolean

Disables automatic calculation of DeliveryStatus, allowing it to be set manually

orderTypestring nullable

Purchase order type (InternalTransfer or PurchaseOrder)

tagsstring[] nullable

Delivery tags (Used for grouping / filtering deliveries)

Changes

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