Skip to main content
POST
/
api
/
catalog
/
batches
/
{key}
/
records
/
bulk-reject
Bulk Reject Records
curl --request POST \
  --url https://api.merchantops.ai/api/catalog/batches/{key}/records/bulk-reject \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>",
  "record_keys": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Headers

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

Path Parameters

key
string
required

Cookies

stytch_session
string | null

Body

application/json
reason
string | null
Maximum string length: 500
record_keys
string[]
Maximum array length: 10000

Response

Successful Response