Skip to main content
DELETE
https://api.getcatalog.ai
/
v1
/
products
/
{execution_id}
curl -X DELETE "https://api.getcatalog.ai/v1/products/products-batch-550e8400-e29b-41d4-a716-446655440000" \
  -H "x-api-key: $CATALOG_API_KEY"
{
  "status": "canceled",
  "execution_id": "products-batch-550e8400-e29b-41d4-a716-446655440000",
  "stop_date": "2025-01-15T10:35:22.000Z"
}
When to use: Use this endpoint when you need to stop a product processing job that is currently running. This is useful if:
  • You started a processing job by mistake
  • The processing is taking longer than expected and you want to stop it
  • You need to free up resources for other operations
Cancellation Requirements: You can only cancel executions that are currently running. If an execution has already completed or failed, it cannot be canceled. The endpoint will return an error if you attempt to cancel a non-running execution.

Request

x-api-key
string
required
Your API key for authentication
execution_id
string
required
The execution ID of the product processing job to cancelFormat: products-batch-{uuid}Note: If the execution ID does not exist, the endpoint returns a 404 Not Found error.

Response

status
string
Status after cancellation. Always "canceled" on success.
execution_id
string
The execution identifier that was canceled
stop_date
string | null
ISO 8601 timestamp when the execution was stopped (null if not available)
curl -X DELETE "https://api.getcatalog.ai/v1/products/products-batch-550e8400-e29b-41d4-a716-446655440000" \
  -H "x-api-key: $CATALOG_API_KEY"
{
  "status": "canceled",
  "execution_id": "products-batch-550e8400-e29b-41d4-a716-446655440000",
  "stop_date": "2025-01-15T10:35:22.000Z"
}