Skip to content

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

PropertyTypeDescriptionDefined in
fileBlobExcel file content.resources/imports.ts:9
fileName?stringFile 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

Released under the MIT License. Not affiliated with ZR Express.