Hanzo
OpenapiCommerce

Edit a plan, leaving the fields you omit alone

Loads the addressed plan, applies the body over it and answers the stored result, so a partial edit never silently zeroes a price or the contact-sales…

PUT /v1/commerce/plans/entries/{slug}

Addresshttps://api.hanzo.ai/v1/commerce/plans/entries/{slug}
MethodPUT
Operationput_commerce_plans_entries_by_slug
AuthAuthorization: Bearer $HANZO_API_KEY

Loads the addressed plan, applies the body over it and answers the stored result, so a partial edit never silently zeroes a price or the contact-sales flag. The slug is IMMUTABLE: a body naming a different slug is rejected outright before anything is written, because a rename would orphan every subscription that stored the old id — deprecate and create instead. An admin edit marks the row authoritative so the seed stops correcting it. PLATFORM admin only; an unknown slug is 404.

Request

1 field.

FieldInTypeRequiredDescription
slugpathstringyes

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