Skip to main content
POST
/
api
/
products
/
batch-delete-async
Batch Delete Products Async
curl --request POST \
  --url https://api.merchantops.ai/api/products/batch-delete-async \
  --header 'Content-Type: application/json' \
  --data '
{
  "keys": [
    "<string>"
  ]
}
'
{
  "job_id": "<string>",
  "message": "<string>",
  "total": 123
}

Headers

authorization
string | null
X-Organization-ID
string | null

Cookies

stytch_session
string | null

Body

application/json

Request model for batch deleting products.

keys
string[]
required

List of product keys to delete (all versions)

Response

Successful Response

Response for a queued large bulk operation (export / delete).

job_id
string
required

Job ID for tracking progress

message
string
required

Status message

total
integer
required

Number of product keys queued for processing