Skip to main content
POST
/
api
/
pricing
/
batches
/
batch-delete
Bulk Delete Price Batches
curl --request POST \
  --url https://api.merchantops.ai/api/pricing/batches/batch-delete \
  --header 'Content-Type: application/json' \
  --data '
{
  "batch_keys": [
    "<string>"
  ]
}
'
{
  "deleted": 123,
  "details": [
    {}
  ]
}

Headers

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

Cookies

stytch_session
string | null

Body

application/json
batch_keys
string[]
required
Required array length: 1 - 500 elements

Response

Successful Response

deleted
integer
required
details
Details · object[]
required