Hanzo
OpenapiCommerce

Add a rate

Creates one rate. Product AND meter are both required, because together they are the identity: a rate keyed on the metered thing alone would let one…

POST /v1/commerce/rates/entries

Addresshttps://api.hanzo.ai/v1/commerce/rates/entries
MethodPOST
Operationpost_commerce_rates_entries
AuthAuthorization: Bearer $HANZO_API_KEY

Creates one rate. Product AND meter are both required, because together they are the identity: a rate keyed on the metered thing alone would let one product's price overwrite another's under the same name. A slug that already exists is refused rather than silently replaced. SuperAdmin only.

Request

The document declares no body for POST /v1/commerce/rates/entries. 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_rates_entries, 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