Catalog and services
POST/v1/categories

Create category

View as .md
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 URLhttps://api.52-28-238-205.sslip.io
POST/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.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
name*Name
Length1 <= length <= 80

Response Body

Success.

application/json
  1. response
category*
[key: string]?any