Catalog API
Products and plans: drafts, native store mappings and publishing.
On this page
Contract version 1.1.0. 7 operations; 7 served, 0 specified only.
Note
"Served" means the endpoint exists in the runtime, not that it is enabled for your app. Provider-backed endpoints return 503 FEATURE_UNAVAILABLE until the matching connection is ready.
| Method | Path | Summary | Auth | Status |
|---|---|---|---|---|
| GET | /v1/catalog/plans | List plans | Consumer session | served |
| POST | /v1/catalog/plans | Save plan | Operator session | served |
| POST | /v1/catalog/plans/{plan_id}/publish | Publish plan | Operator session | served |
| GET | /v1/catalog/products | List products | Consumer session | served |
| POST | /v1/catalog/products | Save product | Operator session | served |
| GET | /v1/catalog/products/{product_id} | Get product | Consumer session | served |
| POST | /v1/catalog/products/{product_id}/publish | Publish product | Operator session | served |
GET /v1/catalog/plans
List plans.
| Operation ID | listPlans |
| Auth | Consumer session (app user) |
| Status | Served |
Responses
200Successful operation — Envelope{ request_id, data, next_cursor? }(data shape not yet pinned in the contract)
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/catalog/plans
Save plan. Draft-only; published plan immutable. Existing draft requires expected_version.
| Operation ID | savePlan |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Request body (application/json, required): PlanDraftSave
Responses
200Successful operation —PlanVersion
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/catalog/plans/{plan_id}/publish
Publish plan.
| Operation ID | publishPlan |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
plan_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
200Successful operation —PlanVersion
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/catalog/products
List products.
| Operation ID | listProducts |
| Auth | Consumer session (app user) |
| Status | Served |
Responses
200Successful operation — Envelope{ request_id, data, next_cursor? }(data shape not yet pinned in the contract)
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/catalog/products
Save product. Draft-only. Never accept client scope/status/version as authoritative. Existing product requires expected_version.
| Operation ID | saveProduct |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Request body (application/json, required): ProductDraftSave
Responses
200Successful operation —CatalogProduct
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/catalog/products/{product_id}
Get product.
| Operation ID | getProduct |
| Auth | Consumer session (app user) |
| Status | Served |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
product_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Responses
200Successful operation —CatalogProduct
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/catalog/products/{product_id}/publish
Publish product.
| Operation ID | publishProduct |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
product_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
200Successful operation —CatalogProduct
Errors: 400 401 403 404 409 422 429 503 as problem details.