What is changing?
We are changing the way we populate the CreatedBefore and LastUpdatedBefore
response elements when you call the ListOrders or ListOrdersByNextToken
operations.
Today the CreatedBefore and LastUpdatedBefore response elements default to
the time of your request minus two minutes. If you specify CreatedBefore or
LastUpdatedBefore in your request, we return the specified date in the
CreatedBefore or LastUpdatedBefore element of the response.
Starting August 31, 2018, you can expect the following behavior:
- If you do not specify CreatedBefore or LastUpdatedBefore in your
request, the default value of CreatedBefore or LastUpdatedBefore in
the response is no longer the time of the request minus two minutes.
CreatedBefore or LastUpdatedBefore in the response indicates the
end date of the date range for the orders that are returned, even if that end date
is before the time of your request minus two minutes.
- If you specify CreatedBefore or LastUpdatedBefore in your request, the
CreatedBefore or LastUpdatedBefore date returned in the response
might not always match the date specified in the request. This might happen if you
specify a CreatedBefore or LastUpdatedBefore date that is within a few
minutes of the time of your request.
In all cases, the CreatedBefore or LastUpdatedBefore dates returned in the
response indicate the end date of the date range for the orders that are returned.
Who is impacted?
Anyone who uses the ListOrders and ListOrdersByNextToken operations of the Orders service
to track incoming orders.
What action is required?
If you use the ListOrders and ListOrdersByNextToken operations to track incoming orders,
be sure to update your software so that it always checks the CreatedBefore or
LastUpdatedBefore element in the response. This gives you the end date of the
date range for the orders that are returned. Use that end date to determine the start
date for your next call to the ListOrders operation.
For more details about the ListOrders operation, see ListOrders.
This change does not require you to download new client libraries.