Orders | Others

Patch line item IDs across order form, shipments, and return order forms

Sample request for updating line item IDs:

POST /api/Orders/PatchLineItemIds
{
   "orderId": "ORDER-001",
   "lineItemIdMappings": [
     {
       "oldLineItemId": "old-line-1",
       "newLineItemId": "new-line-1"
     },
     {
       "oldLineItemId": "old-line-2",
       "newLineItemId": "new-line-2"
     }
   ]
}
        

This endpoint will update line item IDs in:

  • order.OrderForm.LineItems
  • order.OrderForm.Shipments[].LineItems
  • order.ReturnOrderForms[].LineItems
post/api/Orders/PatchLineItemIds

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

Request body

orderIdstring nullable

Order ID to patch line item IDs for (Required)

Response

Line item IDs updated successfully

totalRequestedinteger

Total number of line item IDs that were requested to be updated

updatedCountinteger

Number of line item IDs successfully updated

notFoundCountinteger

Number of line item IDs that were not found

isModifiedboolean

Whether any modifications were made

errorMessagestring nullable

Any error messages

Changes

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