Pulling Sales by Last Modified Date
about 7 years ago by Ben
We've added an optional parameter to the /getSalesByDate call that can be used to pull sales by their last modified date rather than always using the order date.
{
"DateField": "Modified",
"FromDate": "2017-08-28T00:00:00.0000000Z",
"ToDate": "2017-08-30T00:00:00.0000000Z",
"TenantToken": "String",
"UserToken": "String"
}
As you can see in the example above, the new DateField parameter has a value of "Modified". This example would pull sales that have been updated between 8/28 and 8/30. Any change to the sale counts as an update. For example, it could be that shipping or contact information was changed or that sale items were added.