Search Offers
Maximum size limit of 100 results.
Retrieve a list of Offer
’s that match a set of filter criteria. These Offer
s 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.
Headers
Query Parameters
Body
Offer Search Request
Used with the beta flag. A NLP-based search query
Filter by visible offers
Filter by available offers
Name of Merchant Selling Product
Name of Original Vendor (Brand)
The parent/container product ID
External ID
Name of Product in Offer
Publishing status
NOT_PUBLISHED
, PUBLISHED
Subscription status
NOT_SUBSCRIBED
, SUBSCRIBED
Offer status
UNAVAILABLE
, AVAILABLE
, DISABLED_UNAVAILABLE
, DISABLED_AVAILABLE
, FOR_DELETION
, ARCHIVED
Offer category from ecom-platform
Tags to search for
Merchant Ids to filter by
Minimum Price
Maximum Price
Property to sort by in camelCase
Direction to sort by
Response
The actual content of the response; A list of the result objects
Boolean indicating if this is the last page
The total count of pages available
The total count of objects available
Boolean indicating if this is the first page of the response
The total number of objects in this specific response
The page size selected at request time
The page number selected at request time
Boolean indicating if the response content is empty
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.
Violet wrapper for springframework pageable
Violet Wrapper for springframework sort
Was this page helpful?