v1

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Categories

Create a category

post/categories

Headers

channelstring required

Channel ID

organizationstring required

The URL of the end-user web application

Request body

namestring required

Category name

entitlementsstring[] required

Entitlemetns. A string array of product IDs.

passwordstring

Password

kindstring required

Access level of this category

slugstring

Category slug

postsstring[]

Array of post IDs

Example request

{
  "entitlements": [
    "664a1d03-72e0-48de-af73-fe196cb039f3"
  ],
  "password": "$2a$10$FIq2vF2eOMNe3wUT7d3aQusCn6zYtSDabMtMDTRFxAsRXt4CzCc52",
  "kind": "EXCLUSIVE",
  "posts": [
    "6193c77af87edcb391bde0aa",
    "6193c77c2876173a7394c54e"
  ]
}

Response

Category created.