Retrieve a list of Offer's that match a set of filter criteria. These Offers are limited to the Merchants that you are connected to.
✨ Beta mode now available ✨
Note: Violet has not fully rolled out support for this feature and it is still in early release. Features below may change.
Beta mode uses an enhanced search work flow for faster response times and more accurate queries. To use beta mode, you can pass in beta=true as a query parameter in your request.
Enhancements
Faster response times
NLP-based search queries
Enhanced filter criteria
Limitations
Partial offer data responses (Using extended=true in query parameters to extend this data will reduce performance).
The following search criteria(search body attribute) do not yet work with the beta flag:
sort_by
sort_direction
Upcoming Enhancements
Accurately mapped subscription_status. This is a part of a new Violet feature. For now, you can ignore the value assigned here.
Boolean indicating if this is the first page of the response
number_of_elementsinteger · int32Optional
The total number of objects in this specific response
sizeinteger · int32Optional
The page size selected at request time
numberinteger · int32Optional
The page number selected at request time
emptybooleanOptional
Boolean indicating if the response content is empty
next_page_cursorstringOptional
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.