Skip to main content
POST
/
provider
/
offers
/
bulk-upload
/
validate
Validate CSV file without creating offers
curl --request POST \
  --url https://api.offergrid.io/provider/offers/bulk-upload/validate \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form file='@example-file'
{
  "valid": true,
  "errors": [
    "<string>"
  ],
  "warnings": [
    "<string>"
  ],
  "rowCount": 123
}

Authorizations

x-api-key
string
header
required

Team API key for authentication. Your team role (provider/reseller/hybrid) determines which endpoints you can access.

Body

multipart/form-data
file
file

CSV file to validate

Response

200 - application/json

Validation results

valid
boolean
errors
string[]
warnings
string[]
rowCount
number