Hanzo
OpenapiCommerce

Land a syncer's view of the model catalog: upstream costs and machine facts

Takes a batch of model rows and upserts each one's upstream COST and machine-observable facts, answering what was created and changed.

POST /v1/commerce/catalog/models

Addresshttps://api.hanzo.ai/v1/commerce/catalog/models
MethodPOST
Operationpost_commerce_catalog_models
AuthAuthorization: Bearer $HANZO_API_KEY

Takes a batch of model rows and upserts each one's upstream COST and machine-observable facts, answering what was created and changed. It deliberately touches nothing a human owns — not the retail price, not the markup, not the entitlement tier — so a sync can never overwrite an administrator's pricing decision. The gate is a PLATFORM principal rather than a platform ADMIN, because the caller is normally a scheduled job holding the internal service token, which carries platform scope but no admin claim.

Request

The document declares no body for POST /v1/commerce/catalog/models. The handler is typed in cloud but its shape is not yet emitted, so the fields are not listed here — ask the MCP door's describe for post_commerce_catalog_models, which answers from the running route.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page