CSV imports.
Mutations
createImportJob
Create a new ImportJob
Arguments
displayName(String) — The display name of the ImportJobflatfileSpace(FlatfileSpaceInput) — The Flatfile space to create the ImportJob for
Returns: CreateImportJobPayload!
Objects
CreateImportJobError
Fields
code(CreateImportJobErrorCode!)human_readable_message(String!)
CreateImportJobFailure
Fields
errors([CreateImportJobError!]!)
CreateImportJobSuccess
Fields
importJob(ImportJob!)
ImportJob
An ImportJob for a CSV import
Fields
brand(Brand!) — The brand that the ImportJob is associated withcancelled_at(DateTime) — The date the ImportJob was cancelledcompleted_at(DateTime) — The date the ImportJob was completedcreated_at(DateTime!) — The date the ImportJob was createdcreated_by_user(User) — The user that created the ImportJobdisplay_name(String) — The display name of the ImportJobfailed_at(DateTime) — The date the ImportJob failedflatfile_space(ImportJobFlatfileSpace) — The Flatfile space that the ImportJob is associated withflatfile_space_id(ID) — The ID of the Flatfile space that the ImportJob is associated with — 🚧 Deprecated: Use flatfile_space insteadid(ID!) — The ID of the ImportJobidempotency_key(String) — The date the ImportJob was last updated, structured as string to be passed with managementUpdateImportJob mutationsintegration(Integration) — The integration that the ImportJob is associated withstarted_at(DateTime) — The date the ImportJob was startedstarted_by_user(User) — The user that started the ImportJobstatus(ImportJobStatus!) — The status of the ImportJobtype(ImportJobType) — The type of the ImportJob — 🚧 Deprecated: No longer usedupdated_at(DateTime!) — The date the ImportJob was last updated
ImportJobFlatfileSpace
A Flatfile space for a CSV import
Fields
guest_link(String) — The guest link of the Flatfile spaceid(ID!) — The ID of the ImportJobFlatfileSpace
Unions
CreateImportJobPayload
Possible types
Input Objects
FlatfileSpaceInput
Fields
autoMappingEnabled(Boolean) — Whether to enable auto mapping for the Flatfile spaceimportTag(String!) — The import tag to use for the Flatfile spacename(String) — The name of the Flatfile spacenamespace(FlatfileSpaceNamespace!) — The namespace to use for the Flatfile space
Enums
CreateImportJobErrorCode
Values
CREATOR_NOT_FOUND— The creator was not foundFORBIDDEN— You do not have permission to perform this actionINTEGRATION_NOT_FOUND— The integration was not found
FlatfileSpaceNamespace
Values
INTEGRATIONSPLATFORM
ImportJobStatus
The status of an ImportJob
Values
CANCELLEDCOMPLETEDFAILEDPENDINGSTARTED
ImportJobType
The type of an ImportJob
Values
INTEGRATIONSMESSAGING_SUBSCRIPTIONS
