Hello, I am attempting to download all Order information at once for a specified time range (expand="lineItems", "payments", "discounts"), and the "lineItems" & Payments always seem 100% correct for each order, but sometimes the "discounts" node is missing from the data for Orders with discounts. When I do the individual querie to find "all discounts for the Order", these discounts show up fine individually, but I would just like to try and download all of this Order information at once to avoid multiple REST calls. Can anyone suggest anything I should be looking for here? When I compare two orders side by side both with discounts, I cannot determine why only one of them shows up in the REST data.
Here is what my REST call looks like:
http://rest.api/orders/?access_token=abcd&filter=createdTime>=10000000&expand=lineItems%2Cpayments%2Cdiscounts