Skip to content
API

Get Vendors

GET
/v1/catalog-search-service/catalogs/vendors

Get vendors.

Authentication

Topsort’s APIs are authenticated via bearer tokens. Requests must include an authorization header containing your private API key.

Don't have an API key yet? Learn how to generate one.

Authorization
required
string

The header containing a private API key. Format this header as follows:

Authorization: Bearer <YOUR-API-KEY>

Query Parameters

object
next_page

A token provided in a previous response. If not empty, it is used to retrieve the page that follows.

string

A token provided in a previous response. If not empty, it is used to retrieve the page that follows.

Responses

Successful Response

application/json
object
hasMore
required

Whether this is the last page of results or not.

boolean
nextPage

A token to retrieve the next page of results.

string
>= 1 characters
response
required

Array of vendors.

Array<object>

A vendor is the provider for one or more products within a marketplace catalog.

object
id
required

The vendor ID. If there is no ID for vendors in the marketplace, this can be the vendor name as long as it is unique.

string
>= 1 characters
imageURL

The vendor logo. Its size should be between 250x250 and 600x600 pixels. This is recommended in case the Topsort UI will be used to manage campaigns.

string format: uri
>= 1 characters
name
required

The vendor name.

string
>= 1 characters
vendor_role

The vendor’s Role. Default is None

string
Allowed values: admin analytics