PsaOnboardingProductStatus
This page contains
Fields
| status: PsaOnboardingRunStatus! PREVIEW | What the worker's catalog and import steps recorded. The live Disti poll does not affect it, so this stays COMPLETED when the poll behind the counts below fails; read userErrors to tell that case apart from a healthy run. |
| startedOn: DateTime | |
| completedOn: DateTime | |
| userErrors: [PsaOnboardingStatusError!]! PREVIEW | Catalog, import, and bind step failures, plus any failure of the live Disti poll that produced the counts below. A poll failure appears here without moving status, and is the reason to expect when the counts are null. |
| catalogSync: PsaOnboardingStepProgress! PREVIEW | |
| productImport: PsaOnboardingStepProgress! PREVIEW | |
| productBind: PsaOnboardingStepProgress! PREVIEW | |
| importedCount: Int | |
| pendingCount: Int | |
| failedCount: Int | |
| publishedCount: Int | |
| boundCount: Int | Non-deleted productMapping rows created during this execution. |
| awaitingDownstreamProgress: Boolean | True when Disti has no visible import rows yet (fetch may still be running), false when it is reporting rows. Null together with the counts above when Disti was not polled for this response, or when the poll failed — userErrors carries the reason in that case. |
Queries for PsaOnboardingProductStatus
| psaOnboardingStatus PREVIEW | Poll Magical Onboarding progress for a started execution. Reads feature collections (company_import_records, mappings, tax, product bind) plus Disti catalog progress when catalog sync has started. Collection query failures return COLLECTION_LOAD_FAILED rather than falling back to worker steps. |