a905bde4e796

latestOpenAPI 3.1.12026-08-078549932.4 MB
PurchaseOrders

post/PurchaseOrders/from-import

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
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