REST API
Products

Products

Products are marketplace listings — physical goods, digital downloads, services. Each product has a sku (stable per-community id), price + currency, and optional images. Pricing can vary by member tier (see Segments).

Base URL: https://api.cobuntu.com/api/v1

Every endpoint requires an X-API-Key header. See Authentication for scope details.

GET /communities/{communityTag}/products — List products

Scope: READ_PUBLIC

Path parameters:

ParamTypeDescription
communityTagstringYour community's tag (e.g. bela-escala, orbis).

Query parameters:

ParamTypeDefaultDescription
limitinteger20Page size. Default 20, max 100.
offsetinteger0Zero-based offset for pagination. Use either offset or cursor — not both.

Response (200):

[
  {
      "id": "…",
      "sku": "…",
      "name": "…",
      "description": "…"  // nullable,
      "priceCents": 0,
      "currency": "…",
      "imageUrl": "…"  // nullable,
      "isActive": false,
      "sellerId": "…",
    }
]
FieldTypeDescription
idstringStable product identifier (uuid).
skustringStable per-community SKU; use this for deep-links and inventory keys.
namestringDisplay name on product cards + detail pages.
descriptionstring (nullable)Long-form description (markdown).
priceCentsintegerPrice in the smallest currency unit.
currencystringISO 4217 code.
imageUrlstring (nullable)Primary image (or null).
isActivebooleanWhether the product accepts new orders.
sellerIdstringUser id of the member who listed the product (when the community has user-seller stack enabled).

Example:

curl https://api.cobuntu.com/api/v1/communities/my-community/products \
  -H "X-API-Key: pk_live_..."

GET /communities/{communityTag}/products/{sku} — Get product by SKU

Scope: READ_PUBLIC

Path parameters:

ParamTypeDescription
communityTagstringYour community's tag (e.g. bela-escala, orbis).
skustringProduct SKU from GET /products.

Response (200):

{
  "id": "…",
  "sku": "…",
  "name": "…",
  "description": "…"  // nullable,
  "priceCents": 0,
  "currency": "…",
  "imageUrl": "…"  // nullable,
  "isActive": false,
  "sellerId": "…",
}
FieldTypeDescription
idstringStable product identifier (uuid).
skustringStable per-community SKU; use this for deep-links and inventory keys.
namestringDisplay name on product cards + detail pages.
descriptionstring (nullable)Long-form description (markdown).
priceCentsintegerPrice in the smallest currency unit.
currencystringISO 4217 code.
imageUrlstring (nullable)Primary image (or null).
isActivebooleanWhether the product accepts new orders.
sellerIdstringUser id of the member who listed the product (when the community has user-seller stack enabled).

Example:

curl https://api.cobuntu.com/api/v1/communities/my-community/products/EXAMPLE_ID \
  -H "X-API-Key: pk_live_..."