1min

Search Orders

POST
Performs a paginated search of all orders. Orders can be searched by 'merchant_id', 'user_id', or a combination of both.

Orders are limited to those placed by your app.
QUERY PARAMETERS
pageinteger
sizeinteger
HEADER PARAMETERS
X-Violet-Tokenstring
X-Violet-App-Secretstring
X-Violet-App-Idinteger
BODY PARAMETERS
body
OrderSearchRequest
Search Request
user_idinteger<int64>
User ID
merchant_idinteger<int32>
Merchant ID
referral_idstring
Referral ID
RESPONSES
200
successful operation
PageOrder
total_pagesinteger<int32>
total_elementsinteger<int64>
sizeinteger<int32>
content
Order[]
Order
numberinteger<int32>
sortSort
firstboolean
lastboolean
number_of_elementsinteger<int32>
Updated 21 Apr 2022
Did this page help you?
Yes
No