v1

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Categories

Update a category

patch/categories/{id}

Request body

entitlementsstring[]

Entitlemetns. A string array of product IDs.

kindstring

Access level of this category

passwordstring

Password

slugstring

Category slug

postsstring[]

Array of post IDs

Example request

{
  "entitlements": [
    "5fbed4f6c4f0c56a9b63ad27"
  ],
  "kind": "EXCLUSIVE",
  "password": "$2a$10$FIq2vF2eOMNe3wUT7d3aQusCn6zYtSDabMtMDTRFxAsRXt4CzCc52",
  "posts": [
    "6193c77af87edcb391bde0aa",
    "6193c77c2876173a7394c54e"
  ]
}

Response

Category updated.