Authorizations
A valid API key generated in Topsort's UI.
Body
application/json
Create or replace one or more vendors in the catalog.
Required array length:
1 - 500
elementsResponse
Successful Response
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.
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.
A valid API key generated in Topsort's UI.
Create or replace one or more vendors in the catalog.
1 - 500
elementsShow child attributes
Successful Response
Was this page helpful?