GetOrderHistory
Description
Using filters we want to receive the orders of a customer. These orders will come directly from the ERP system and can contain our web orders but also orders placed in the shop or by phone.
Note that the orders should be returned in reversed order. The order history is shown on the shop in a paged manner. The first page contains the most recent orders with the latest order on top of the list.
The default number of orders on a page can be set to 20. Note that the the shop's design may define a different number so it is wise to make this parameter configurable.
SOAP API:
Action
http://shoxl.com/ShoxlService/GetOrderHistory
Please note: this is not a working url, but a combination of namespace and method. Do not expect the url to return a result.
Style
Document
Input (Literal)
The input of this method is the document element tns:GetOrderHistory having the structure defined by the following table.
Complex Type: tns:GetOrderHistoryRequest
Description
The GetOrderHistoryRequest contains all the information to get the orders of the
customer.
Possible values for filtertype “by order status code” (2)
Geleverd
Deels geleverd
Niet geleverd
Output (Literal)
tns:GetOrderHistoryResponse
The output of this method is the document element tns:GetOrderHistoryResponse having the structure defined by the following table.
Complex Type: tns:GetOrderHistoryResult
Description
The GetOrderHistoryResult contains the orders of the customer using the given
filter.
Complex Type: tns:ArrayOfOrderHistoryItem
Complex Type: tns:OrderHistoryItem
A OrderHistoryItem contains all the main information of an Order. To show on the order history overview page.
REST API:
URL: /Shoxl/v1/GetOrderHistory Method: POST
Request body:
GetOrderHistoryRequest{
}
Example:
Response body:
GetOrderHistoryResult{
}
OrderHistoryItem{
}
Example:
Last updated