POST v1/purchaseOrder/{purchaseOrderID}/lineItem/save

Add or update information about a Purchase Order Line Item

Request Information

URI Parameters

NameDescriptionTypeAdditional information
purchaseOrderID

integer

Required

Body Parameters

PurchaseOrderItemModel
NameDescriptionTypeAdditional information
PurchaseOrderItemID

Unique identifier of a Purchase Order Line Item

integer

None.

LineNumber

Line number

string

None.

SKU

The SKU on the Purchase Order

SKUModel

None.

Quantity

The quantity of the SKU ordered

decimal number

None.

UnitOfMeasure

The Unit of Measure used for ordering

UnitOfMeasureModel

None.

POStatus

The Status of the line item

PurchaseOrderStatusModel

None.

Cost

The Line Item Cost

decimal number

None.

ExtendedCost

The Extended Line Item Cost

decimal number

None.

Lot

The Lot number

string

None.

ReceivedQuantity

The quantity of the SKU received against this Purchase Order

decimal number

None.

Other1

string

None.

Other2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "purchaseOrderItemID": 1,
  "lineNumber": "sample string 2",
  "sku": {
    "skuId": 1,
    "isActive": true,
    "partNumber": "sample string 3",
    "partDescription": "sample string 4",
    "skuCategory": {
      "skuCategoryID": 1,
      "isSystem": true,
      "isIntegrationControlled": true,
      "isActive": true,
      "skuCategory": "sample string 5"
    },
    "skuSubCategory": {
      "skuSubCategoryId": 1,
      "skuCategoryId": 2,
      "skuSubCategory": "sample string 3"
    },
    "imageURL": "sample string 5",
    "fileCount": 6,
    "isNonSerialized": true,
    "isLotTraceable": true,
    "receiveNonSerialized": true,
    "receivePreLabeled": true,
    "nonSerializedSKUID": 11,
    "numberPerPallet": 12,
    "purchaseUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "stockUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "conversionRatio": 13.0,
    "standardCost": 14.0,
    "vat": 15.0,
    "truckloadQuantity": 16,
    "mask": "sample string 17",
    "skuType": {
      "skuTypeID": 1,
      "skuType": "sample string 2"
    },
    "isIntegrationControlled": true,
    "weight": 19.0,
    "height": 20.0,
    "length": 21.0,
    "width": 22.0,
    "dimensionUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "weightUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "isCertified": true,
    "certificationDate": "2025-11-08T08:22:30.8142648+00:00"
  },
  "quantity": 3.0,
  "unitOfMeasure": {
    "unitOfMeasureID": 1,
    "unitOfMeasure": "sample string 2",
    "unitCode": "sample string 3"
  },
  "poStatus": {
    "purchaseOrderStatusID": 1,
    "purchaseOrderStatus": "sample string 2"
  },
  "cost": 4.0,
  "extendedCost": 5.0,
  "lot": "sample string 6",
  "receivedQuantity": 7.0,
  "other1": "sample string 8",
  "other2": "sample string 9"
}

Response Information

Resource Description

PurchaseOrderItemModel
NameDescriptionTypeAdditional information
PurchaseOrderItemID

Unique identifier of a Purchase Order Line Item

integer

None.

LineNumber

Line number

string

None.

SKU

The SKU on the Purchase Order

SKUModel

None.

Quantity

The quantity of the SKU ordered

decimal number

None.

UnitOfMeasure

The Unit of Measure used for ordering

UnitOfMeasureModel

None.

POStatus

The Status of the line item

PurchaseOrderStatusModel

None.

Cost

The Line Item Cost

decimal number

None.

ExtendedCost

The Extended Line Item Cost

decimal number

None.

Lot

The Lot number

string

None.

ReceivedQuantity

The quantity of the SKU received against this Purchase Order

decimal number

None.

Other1

string

None.

Other2

string

None.

Response Formats

application/json, text/json

Sample:
{
  "purchaseOrderItemID": 1,
  "lineNumber": "sample string 2",
  "sku": {
    "skuId": 1,
    "isActive": true,
    "partNumber": "sample string 3",
    "partDescription": "sample string 4",
    "skuCategory": {
      "skuCategoryID": 1,
      "isSystem": true,
      "isIntegrationControlled": true,
      "isActive": true,
      "skuCategory": "sample string 5"
    },
    "skuSubCategory": {
      "skuSubCategoryId": 1,
      "skuCategoryId": 2,
      "skuSubCategory": "sample string 3"
    },
    "imageURL": "sample string 5",
    "fileCount": 6,
    "isNonSerialized": true,
    "isLotTraceable": true,
    "receiveNonSerialized": true,
    "receivePreLabeled": true,
    "nonSerializedSKUID": 11,
    "numberPerPallet": 12,
    "purchaseUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "stockUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "conversionRatio": 13.0,
    "standardCost": 14.0,
    "vat": 15.0,
    "truckloadQuantity": 16,
    "mask": "sample string 17",
    "skuType": {
      "skuTypeID": 1,
      "skuType": "sample string 2"
    },
    "isIntegrationControlled": true,
    "weight": 19.0,
    "height": 20.0,
    "length": 21.0,
    "width": 22.0,
    "dimensionUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "weightUOM": {
      "unitOfMeasureID": 1,
      "unitOfMeasure": "sample string 2",
      "unitCode": "sample string 3"
    },
    "isCertified": true,
    "certificationDate": "2025-11-08T08:22:30.8192634+00:00"
  },
  "quantity": 3.0,
  "unitOfMeasure": {
    "unitOfMeasureID": 1,
    "unitOfMeasure": "sample string 2",
    "unitCode": "sample string 3"
  },
  "poStatus": {
    "purchaseOrderStatusID": 1,
    "purchaseOrderStatus": "sample string 2"
  },
  "cost": 4.0,
  "extendedCost": 5.0,
  "lot": "sample string 6",
  "receivedQuantity": 7.0,
  "other1": "sample string 8",
  "other2": "sample string 9"
}