Skip to content

Cancel Import (GraphQL)

Terminal-state guard

Refuses when the import is completed, processed, failed or already cancelled (errors[]).

Permission: settings.data_transfer.imports.edit.

Prerequisites

The example uses an illustrative id value. Replace it with the id of a data transfer import that exists in your store — use the adminSettingsDataTransferImports query to discover valid ids.

Released under the MIT License.