Show / Hide Table of Contents

    400 - Invalid Date Range

    • v2
    • validation
    • pro
    • api
    • shipments
    • error
    • 400
    Tip

    The invalid_date_range error code will be returned if your request includes an invalid date_range.

    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.

    Back to top Copyright © Sorted Group 2023. Generated by DocFX