curl --request DELETE \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/vendors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Delete vendors by ID.
This function won’t error out when trying to delete vendors that don’t exist.
curl --request DELETE \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/vendors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.
The IDs of the vendors to delete.
1["XljzxWf8sfqF", "eBbIYS16vZV3"]
["VENDOR-456"]
["5c30432c-1186-4389-a2f1-577bb8dd5180"]
Successful Response
Was this page helpful?