PurchaseOrders

POST /PurchaseOrders/from-import

Changed on

Request

Request body

vendorIdstring
existingPurchaseOrderIdstring nullable

When set, append lines to this existing PO instead of creating a new one. The PO must belong to string CreatePurchaseOrderFromImportDto.VendorId and be in a status that still accepts new lines (Draft / Sent / Backordered).

externalOrderNumberstring nullable
orderDatestring date-time nullable
markReceivedboolean

If true, the PO is sent + received in the same transaction so stock and inventory transactions land immediately. Lot # / expiration are left null and filled in later via the regular receive UI.

notesstring nullable

Response

Created

idstring
overdraftSettlementApprovalIdsstring[]

Review mode (ITE-1410): the overdraft-settlement approvals this receive filed instead of settling. Empty in Automatic mode.

orderNumberstring
vendorIdstring
statusstring
orderDatestring date-time
expectedDeliveryDatestring date-time nullable
receivedDatestring date-time nullable
externalOrderNumberstring nullable
trackingNumberstring nullable
notesstring nullable
createdAtstring date-time
updatedAtstring date-time

Changes

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)