dataKiosk_cancelQuery

Cancel a Data Kiosk query that is IN_QUEUE or IN_PROGRESS.

readAmazon Seller (SP-API)sp.dataKiosk_2023-11-15

Amazon SP-API · cancelQuery · DELETE /dataKiosk/2023-11-15/queries/{queryId} Only IN_QUEUE and IN_PROGRESS queries can be cancelled; re-cancelling an already-CANCELLED query is a no-op (it succeeds). DONE and FATAL queries cannot be cancelled. Cancelled queries still appear in dataKiosk_getQuery / dataKiosk_getQueries results. Cancelling is a write operation and requires SP write access.

Call it

In an AI client (MCP)

tools/call
{
  "name": "dataKiosk_cancelQuery",
  "arguments": {
    "store": "myStore-US",
    "queryId": "<queryId>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/dataKiosk_cancelQuery \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US","queryId":"<queryId>"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
storerequiredstringthe store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim.
queryIdrequiredstringQuery ID to cancel.

Result

Every tool answers {notification, data, human_action}; data carries:

  • data.queryId — the cancelled query id.
  • data.result — empty — Amazon returns 204 No Content on success.

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude