An OrderReport represents the top level, header information on a historical order.
Historical orders may be sent to the RepSpark API that did not originate from the RepSpark web and mobile apps. For example, many brands want to provide their sales representatives and customers access to historical orders from the past couple of years. Refer to Batch Types and Sync Modes to learn more about sending millions of orders to the RepSpark API.
Delta syncs for Reports generally include OrderItems, but report headers and items can also be sent separately if desired - using the OrderReport sync for headers and OrderItemReport sync for the order line items. If any OrderItems are included at all in an OrderReport sync, then all OrderItems will be diffed - this can be used to delete specific OrderItems from reports. If no OrderItems are included in the sync, then it is assumed that only Report headers need to be updated.
post
https://{environment}.repspark.net/api/orderreport