POST
/
merchants
/
search

Search for merchants you are connected to given certain filter criteria.

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Query Parameters

page
integer
default:
1
size
integer
default:
20

Body

application/json
commission_rate_max
number

The maximum commission rate of the Merchant

commission_rate_min
number

The minimum commission rate of the Merchant

id
integer

The ID of the Merchant

name
string

The name of the Merchant

sort_by
string

Property to sort by in camelCase

sort_direction
string

Direction to sort by

status
enum<string>

The connection status of the Merchant

Available options:
ANY,
CONNECTED,
PRIVATE,
PUBLIC

Response

default - application/json
content
object[]

The actual content of the response; A list of the result objects

empty
boolean

Boolean indicating if the response content is empty

first
boolean

Boolean indicating if this is the first page of the response

last
boolean

Boolean indicating if this is the last page

next_page_cursor
string

Contains the cursor for the next page. This property will only be used for situations where the API does not support the page number/page size paradigm and it will mutually exclusive with the size/number fields in the response. If this property is returned it must be passed when requesting the next page from the API. Does not apply to endpoints that do not have a next_page_cursor query param documented.

number
integer

The page number selected at request time

number_of_elements
integer

The total number of objects in this specific response

pageable
object

Violet wrapper for springframework pageable

size
integer

The page size selected at request time

sort
object

Violet Wrapper for springframework sort

total_elements
integer

The total count of objects available

total_pages
integer

The total count of pages available

Was this page helpful?