PUT
/
public
/
v1
/
catalog-search-service
/
catalogs
/
categories
curl --request PUT \
  --url https://api.topsort.com/public/v1/catalog-search-service/catalogs/categories \
  --header 'Content-Type: application/json' \
  --data '{
  "categories": [
    {
      "id": "ahEDqV5uhjj8",
      "name": "Beers/Belgian",
      "parentId": "bneEmHKG2yUe"
    }
  ]
}'
This response does not have an example.

Body

application/json
categories
object[]
required

Categories to upsert. New categories will be created, and existing ones will be fully replaced with the provided data.

Categories provide a way to organize your catalog.

Products always belong to at least one category, but can belong to more. Categories can be organized into hierarchies.

Response

204
_mintlify/placeholder

Successful Response