Skip to main content

Cancel an import

POST 

/api/service/products/bulk/:importId/cancel

Abandons an import that has not started committing — uploaded, staging or in preview — so the workspace can start another one. The import moves to FAILED with the reason Cancelled by user. An import that is committing or completed cannot be cancelled; roll a completed import back instead. Needs a read-write API key.

Request​

Responses​

The import is cancelled.

Response Headers
    X-ApiKey-RateLimit-Limit

    Requests per minute this API key is allowed.

    X-ApiKey-RateLimit-Remaining

    Requests left in the current one-minute window.

    X-ApiKey-RateLimit-Reset

    Seconds until the current window ends and the count resets.

    x-request-id

    Identifier of this request. Send your own x-request-id to have it echoed back; otherwise one is generated. Quote it when contacting support.