Catalog and services
POST/v1/categories
Create category
curl -X POST "https://api.52-28-238-205.sslip.io/v1/categories" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"name":"Example"}'Creates a category for the caller's platform; names are normalised to lower case and must be unique. Platform operators only, with connect:manage.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/categoriesBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Body
application/json · required. Fields are listed under Request body below.
Requires permissionconnect:manage
Held by
operator, merchant_owner. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
name*NameLength
1 <= length <= 80Success.
application/json- response
category*[key: string]?anyGETList categories
Lists built-in categories and the caller's own, with listing and service counts. Any authenticated caller (console session, API key or agent credential).
DELDelete category
Deletes one of the caller platform's categories. Platform operators only, with connect:manage; built-in categories can't be deleted and a category that still has listings returns 409.