Preview PO import with SKU matching

POST/api/v1/inventory/po-import/preview

After reviewing AI column mappings, returns line items with SKU match status against the product catalog.

Operation ID: preview_po_import_api_v1_inventory_po_import_preview_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

file_idstringrequired
selected_sheetsarray · stringrequired
sheet_mappingsarray · POSheetMappingConfirmationrequiredPOSheetMappingConfirmation
4 fields
sheet_namestringrequired
mappingobjectrequired

Map of standard field name → 0-based column index.

data_start_rowinteger
exclude_rowsarray · integer

Responses

201Successful Response

successboolean
messagestring
codestring
dataPOPreviewResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error - Invalid data format