Skip to main content
PATCH
/
api
/
pricing
/
comparison
/
{run_id}
/
archive
Archive Comparison Run
curl --request PATCH \
  --url https://api.merchantops.ai/api/pricing/comparison/{run_id}/archive \
  --header 'Content-Type: application/json' \
  --data '
{
  "archived": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Headers

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

Path Parameters

run_id
string
required

Cookies

stytch_session
string | null

Body

application/json

Request body for archiving/unarchiving a comparison run.

archived
boolean
default:true

Response

Successful Response