feat(client): surface Excel draft import in order creation
This commit is contained in:
@@ -334,6 +334,13 @@ export function downloadMerchantProductImage(fileId: number | string) {
|
||||
return apiBlobRequest({ method: 'GET', url: `/merchant/v1/files/product-images/${fileId}` })
|
||||
}
|
||||
|
||||
export function downloadMerchantFirstLegBatchImportErrorReport(batchNo: string, fileId: number | string) {
|
||||
return apiBlobRequest({
|
||||
method: 'GET',
|
||||
url: `/merchant/v1/files/order-batch-imports/${encodeURIComponent(batchNo)}/error-reports/${encodeURIComponent(String(fileId))}`,
|
||||
})
|
||||
}
|
||||
|
||||
export async function downloadMerchantInboundCartonLabels(inboundId: number | string) {
|
||||
return downloadMerchantCartonLabelPdf(
|
||||
`/merchant/v1/first-leg/inbounds/${encodeURIComponent(String(inboundId))}/carton-label-pdf`,
|
||||
|
||||
Reference in New Issue
Block a user