website logo
Channel Docs
Merchant Docs
Navigate through spaces
Channel Docs
Merchant Docs
⌘K
👋Welcome to Violet's Docs
💡Concepts
🚀Quick Start
🍎Create a Violet Application
😀Postman + Login
🏬View Merchants
👗Interact with Catalogs
🛍️Place an Order
🌐API Reference
✋Help
📝Changelog
Docs powered by archbee 
0min

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 Oct 2022
Did this page help you?
Yes
No
UP NEXT
Get Orders
Docs powered by archbee