Skip to main content
POST
/
api
/
pricing
/
records
/
export
Export Records
curl --request POST \
  --url https://api.merchantops.ai/api/pricing/records/export \
  --header 'Content-Type: application/json' \
  --data '
{
  "columns": [
    {}
  ],
  "batch_key": "<string>",
  "date_from": "<string>",
  "date_to": "<string>",
  "product_keys": [
    "<string>"
  ],
  "record_keys": [
    "<string>"
  ],
  "temporal_filter": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Headers

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

Cookies

stytch_session
string | null

Body

application/json
columns
Columns · object[]
required

Column mapping: [{key, label}]

batch_key
string | null

Export all records belonging to this batch

date_from
string | null
date_to
string | null
product_keys
string[] | null

Product keys to export all records for

record_keys
string[] | null

Specific record keys to export

temporal_filter
string | null

Response

Successful Response