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": [
{
"id": "9SiwYqqL8vdG",
"name": "Huyghe Brewery",
"imageURL": "https://cdn.example.com/logos/9SiwYqqL8vdG.jpg",
"vendor_role": "admin",
"merchant_center_id": 1456723,
"globalId": "vendor_group_123"
}
]
}'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": [
{
"id": "9SiwYqqL8vdG",
"name": "Huyghe Brewery",
"imageURL": "https://cdn.example.com/logos/9SiwYqqL8vdG.jpg",
"vendor_role": "admin",
"merchant_center_id": 1456723,
"globalId": "vendor_group_123"
}
]
}'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?