Updates an existing rule. `code` is immutable — a body `code` that
differs from the URL code is rejected. The expression is
re-validated and the canonical Text regenerated from Tree.
Authorizations
JWT Authorization header using the Bearer scheme.
Path Parameters
The rule's tenant-unique code (immutable).
Query Parameters
limits which fields are returned in the response body
Body
The updated rule.
Tenant-scoped, expression-based rule that selects Mozu.CommerceRuntime.Contracts.CallOffOrders.CallOffOrder entities for downstream composite consumers (e.g. CallOff Reservation Rule in Catalog).
Tenant-unique stable identifier referenced by composite consumers. Matches
[A-Za-z0-9_-]+. Auto-generated from Mozu.CommerceRuntime.Contracts.CallOffOrderRules.CallOffOrderRule.Name when omitted
on create. Immutable after create.
Optional rule purpose / authoring notes. Max 2000 chars.
If false, the evaluate endpoint rejects the rule with HTTP 400.
Lifecycle CRUD reads continue to return it. Default true on create.
System-generated unique identifier (MozuObjectId). Server-set; ignored on write.
Free-form consumer-specific metadata. Mirrors PurchaseLimitRule.MetaData.
Human-readable rule name. Required; non-empty; max 255 chars.
Identifies which composite consumer family uses this rule. Free string
matching [A-Za-z0-9_-]+. Well-known values: "Reservation",
"PurchaseLimit", "Custom".
Tenant identifier. Populated from IApiContext on the server. Never
accepted from the client request body.
Response
OK
Tenant-scoped, expression-based rule that selects Mozu.CommerceRuntime.Contracts.CallOffOrders.CallOffOrder entities for downstream composite consumers (e.g. CallOff Reservation Rule in Catalog).
Tenant-unique stable identifier referenced by composite consumers. Matches
[A-Za-z0-9_-]+. Auto-generated from Mozu.CommerceRuntime.Contracts.CallOffOrderRules.CallOffOrderRule.Name when omitted
on create. Immutable after create.
Optional rule purpose / authoring notes. Max 2000 chars.
If false, the evaluate endpoint rejects the rule with HTTP 400.
Lifecycle CRUD reads continue to return it. Default true on create.
System-generated unique identifier (MozuObjectId). Server-set; ignored on write.
Free-form consumer-specific metadata. Mirrors PurchaseLimitRule.MetaData.
Human-readable rule name. Required; non-empty; max 255 chars.
Identifies which composite consumer family uses this rule. Free string
matching [A-Za-z0-9_-]+. Well-known values: "Reservation",
"PurchaseLimit", "Custom".
Tenant identifier. Populated from IApiContext on the server. Never
accepted from the client request body.

