ValidationErrorData

Which fields failed validation, and why.

  • Every field that failed validation, up to 100 per response. Absent when the request was rejected for a reason other than validation — message says why.

    Properties: 2
Examples
{
  "issues": [
    {
      "field": "productIds",
      "message": "Too big: expected array to have <=200 items"
    },
    {
      "field": "lines.3.quantity",
      "message": "Too small: expected number to be >=1"
    }
  ]
}