Entry step of the catalog item enrichment workflow. Creates short-lived drafts that later *Workflow mutations in the same operation (for example categoriesValidateWorkflow, classificationsCalculateWorkflow, exportClassificationsInferWorkflow) read and enrich, so item details and the image are sent once. Drafts live only for the operation that created them. A draft that can't be created (blank name, unreadable image) is left out and reported in errors as Catalog item draft {draftId}: {reason} with draftId and its input index in the extensions; the other drafts are still created. Too many or too few drafts fails the whole step.
Mutation.
catalogItemDraftsCreateWorkflow
Entry step of the catalog item enrichment workflow. Creates short-lived drafts that later
*Workflowmutations in the same operation (for examplecategoriesValidateWorkflow,classificationsCalculateWorkflow,exportClassificationsInferWorkflow) read and enrich, so item details and the image are sent once. Drafts live only for the operation that created them. A draft that can't be created (blankname, unreadable image) is left out and reported inerrorsasCatalog item draft {draftId}: {reason}withdraftIdand its inputindexin the extensions; the other drafts are still created. Too many or too few drafts fails the whole step.Arguments
input
[CatalogItemDraftInput!]!
Required
Returns:
[CatalogItemDraft!]!
type Mutation { catalogItemDraftsCreateWorkflow(input: [CatalogItemDraftInput!]!): [CatalogItemDraft!]! }Was this page helpful?