Skip to content
API reference

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.

MethodPathSummaryAuthStatus
GET/v1/catalog/plansList plansConsumer sessionserved
POST/v1/catalog/plansSave planOperator sessionserved
POST/v1/catalog/plans/{plan_id}/publishPublish planOperator sessionserved
GET/v1/catalog/productsList productsConsumer sessionserved
POST/v1/catalog/productsSave productOperator sessionserved
GET/v1/catalog/products/{product_id}Get productConsumer sessionserved
POST/v1/catalog/products/{product_id}/publishPublish productOperator sessionserved

GET /v1/catalog/plans

List plans.

Operation IDlistPlans
AuthConsumer session (app user)
StatusServed

Responses

  • 200 Successful 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 IDsavePlan
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Request body (application/json, required): PlanDraftSave

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/catalog/plans/{plan_id}/publish

Publish plan.

Operation IDpublishPlan
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
plan_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/catalog/products

List products.

Operation IDlistProducts
AuthConsumer session (app user)
StatusServed

Responses

  • 200 Successful 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 IDsaveProduct
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Request body (application/json, required): ProductDraftSave

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/catalog/products/{product_id}

Get product.

Operation IDgetProduct
AuthConsumer session (app user)
StatusServed

Parameters

NameInTypeRequiredNotes
product_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/catalog/products/{product_id}/publish

Publish product.

Operation IDpublishProduct
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
product_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.