Catalog and services
DEL/v1/categories/{id}
Delete category
curl -X DELETE "https://api.52-28-238-205.sslip.io/v1/categories/{id}" \ -H "Cookie: <console session cookie>"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.
Server URL
https://api.52-28-238-205.sslip.ioDEL/v1/categories/{id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredCategory id (cat_...).
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)
id*IdCategory id (cat_...).
Success.
application/json- response
ok*Ok[key: string]?anyPOSTCreate category
Creates a category for the caller's platform; names are normalised to lower case and must be unique. Platform operators only, with connect:manage.
GETList platform listings
Lists the services the caller's platform lists, with counts per status (up to 500 rows). Platform operators only, with connect:manage.