@terminaldz/zrexpress-sdk / index / ExcelImportOptions
Interface: ExcelImportOptions
Defined in: resources/imports.ts:7
Shared multipart Excel-import primitive (API_REFERENCE §7). The three import endpoints (customers, parcels, products) take multipart/form-data with a file part plus an optional columnsAndTheirPropertyNames JSON dictionary. The transport leaves content-type to fetch so the multipart boundary is set.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
file | Blob | Excel file content. | resources/imports.ts:9 |
fileName? | string | File name sent in the multipart part (per-endpoint default otherwise). | resources/imports.ts:11 |
columnsAndTheirPropertyNames? | Record<string, string> | Optional column → property mapping, serialized as the JSON dictionary the API expects. | resources/imports.ts:13 |