Passer au contenu principal
GET
/
public
/
v1
/
catalog-search-service
/
catalogs
/
vendors
/
{vendor-id}
Get Vendor
curl --request GET \
  --url https://api.topsort.com/public/v1/catalog-search-service/catalogs/vendors/{vendor-id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "imageURL": "<string>",
  "vendor_role": "admin",
  "updated_at": "2023-11-07T05:31:56Z",
  "merchant_center_id": 123,
  "globalId": "<string>"
}

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI.

Paramètres de chemin

vendor-id
string
requis

The ID of the vendor to retrieve.

Minimum string length: 1

Réponse

Successful Response

id
string
requis
name
string
requis
imageURL
string | null
requis
vendor_role
enum<string> | null
requis
Options disponibles:
admin,
analytics
updated_at
string<date-time>
merchant_center_id
integer | null
globalId
string | null