Skip to main content
PUT
/
public
/
v1
/
catalog-search-service
/
catalogs
/
vendors
Upsert Vendors
curl --request PUT \
  --url https://api.topsort.com/public/v1/catalog-search-service/catalogs/vendors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "vendors": [
    {
      "globalId": "vendor_group_123",
      "id": "9SiwYqqL8vdG",
      "imageURL": "https://cdn.example.com/logos/9SiwYqqL8vdG.jpg",
      "merchant_center_id": 1456723,
      "name": "Huyghe Brewery",
      "vendor_role": "admin"
    }
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Body

application/json
vendors
Vendor · object[]
required

Create or replace one or more vendors in the catalog.

Required array length: 1 - 500 elements

Response

Successful Response