Preview

triggerCatalogSubmissionImports is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

triggerCatalogSubmissionImports

Enqueue marketplace import for headless catalog create (by submission or explicit product ids)

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    external.distributors.config.readwrite.instance

    ROLE_SUPERUSER

    Arguments

    input TriggerCatalogSubmissionImportsInput! PREVIEW

    TriggerCatalogSubmissionImportsInput fields

    accountId String!

    Marketplace company (vendor) UUID — same as registerDistributorAccount

    submissionId ID

    Import all SUCCEEDED products from a completed CATALOG_CREATE submission (mutually exclusive with distributorProductIds)

    distributorProductIds [ID!]

    Import explicit productDetail ids — max 250, (mutually exclusive with submissionId)

    shouldPublishAfterImport Boolean

    Publish to marketplace production catalog after import succeeds

    autoSyncAfterImport Boolean

    Auto-sync marketplace product when distributor data changes after import

    Return Fields

    submissionId ID

    Echoed when input used submissionId; null for distributorProductIds mode

    triggeredProductCount Int!

    Number of products for which import was enqueued on this call

    productImportIds [ID!]

    productImportIds enqueued or linked on this call (aggregated across items)

    userErrors [TriggerCatalogSubmissionImportsError!] PREVIEW

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.