CreateOrderTask
This procedure creates an order download task with filter criteria for the order report.
Input
Name | Type | Required | Description |
SchemaVersion | String | True | Required. The schema version of the LMS OrderReport. For the LMS_ORDER_REPORT feed type, see the OrderReport reference page https://developer.ebay.com/devzone/merchant-data/CallRef/OrderReport.html to see the present schema version. The schemaVersion value is the version number shown at the top left of the OrderReport page. |
FeedType | String | False | Optional. The feed type associated with the task. Defaults to LMS_ORDER_REPORT. |
CreationDateRangeFrom | String | False | Optional. The creation date range of the orders you want returned. Set the date range so it contains less than 10 days (maximum). If you do not specify a DateRange, results from the last 10 days will be returned by default. Example: 2022-11-18T19:09:02.768Z. |
CreationDateRangeTo | String | False | Optional. The end date for the date range, which is inclusive. If the parent type is included, both the from and/or the to fields become conditionally required. Example: 2022-11-26T19:09:02.768Z. |
OrderStatus | String | False | Optional. The order status of the orders returned. If the filter is omitted from createOrderTask call, orders that are in both ACTIVE and COMPLETED states are returned. Possible values are ACTIVE or COMPLETED. |
Result Set Columns
Name | Type | Description |
Success | String | True or false depending on whether the procedure was successful. |
TaskId | String | The ID of the created download task. |
Description | String | Extra details on the procedure's success or failure. |