Skip to main content

TypeAlias.ProductImportResult

type ProductImportResult = {
action: "error" | "created" | "updated" | "unchanged";
error?: {
externalId?: string;
field?: string;
lineNumber: number;
message: string;
};
externalId?: string;
productId?: string;
success: boolean;
};

Result of a single product import within a bulk operation.

Type Declaration

NameType
action"error" | "created" | "updated" | "unchanged"
error?{ externalId?: string; field?: string; lineNumber: number; message: string; }
error.externalId?string
error.field?string
error.lineNumbernumber
error.messagestring
externalId?string
productId?string
successboolean