The date_range object includes 2 properties: start and end.

In order for a date_range to be valid, one of the following must be true:

  • Both start and end are null
  • Both properties must contain a valid ISO8601 date time value if not null
  • If both start and end are provided and are valid:
    • start must be on or before the end
    • end must be on or after the start

If you receive an invalid_date_range error, ensure that all provided properties are valid.