The OrderDetailByDateRangeRequest object is used as an input in GetOrderDetailByDateRange API. This API is used to fetch list of orders placed between the given date range. The maximum date range that can be provided in a single request is three months. Order detail history is maintained up to three years.
OrderDetailByDateRangeRequest
| Field Name | Required? | Data Type | Accepted Values/Examples |
|---|---|---|---|
| EndDate | Yes | google.protobuf.Timestamp EndDate | Indicate the end date for your order search query. Response to this query contains orders till the EndDate |
| EndTime | No | google.protobuf.Duration EndTime | Provide the end time for your order search query. In case none is given, by default EndTime is taken as "23:59:59" |
| StartDate | Yes | google.protobuf.Timestamp StartDate | Indicate the start date for your order search query. Response to this query contains orders originating from StartDate |
| StartTime | No | google.protobuf.Duration StartTime | Provide the start time for your order search query. In case none is given, by default StartTime is taken as "00:00:00" |
| TimeoutInSeconds | No | int32 | Time out interval for the API request |
| UserToken | Yes | string | A server generated GUID that is given as response to the client during the first login |