Update call-off release rule
Updates an existing call-off release rule with full replacement semantics (FR-009).
Authorizations
JWT Authorization header using the Bearer scheme.
Path Parameters
Query Parameters
limits which fields are returned in the response body
Body
Call-Off Release Rule contract (CAT-7736). Tenant-owned, internally master-catalog-scoped ranked admin rule for the B2B Supply Chain OMS call-off order release pipeline.
Referenced Call-Off-Order Rule codes. Max 1 entry. At least one of ProductRules, CustomerRules, or CallOffOrderRules must be non-empty (FR-007, FR-008).
Unique identifier. Auto-generated on create if not supplied. Immutable after creation. Max 30 characters; must match GeneralAlphaNumericCharactersRegex (FR-005, FR-016).
Referenced Customer Rule codes. Max 1 entry (FR-007, FR-008).
Days before the ship date within which this rule applies. Inclusive [0, 365] (FR-015).
Optional description. Max 500 characters (FR-003).
Whether the rule is active. Defaults to true on insert (FR-003, FR-011).
End of the rule's effective window. Null = never expires. Must be >= StartDate when both supplied.
Read-only. Computed server-side: true when the current UTC instant is inside the effective window (StartDate null/≤now AND EndDate null/≥now), false otherwise. A rule with no dates is always active. This reflects the effective window alone and does not incorporate the enabled flag.
Opaque JSON metadata passthrough. Persisted as nvarchar(MAX). Cleared on PUT if omitted (FR-023).
Minimum fill rate threshold [0, 100] (integer percentage). 0 is valid (FR-027).
Display name. Required. Max 200 characters (FR-003).
Referenced Product Rule criteria. Max 1 entry. Each entry requires both code and masterCatalogId; the (code, masterCatalogId) pair must resolve to an existing ProductRule with RuleType=CallOffRelease (FR-007, FR-008).
Priority rank, unique per (TenantId, MasterCatalogId). Auto-assigned to MAX(Rank)+1 when omitted or ≤0 on create (FR-006, FR-017).
Optional tiebreaker attribute name used by the downstream call-off release engine. Max 50 characters. null, absent, and empty are all accepted (FR-026).
Start of the rule's effective window. Null = no lower bound (already active).
When true the rule applies to all tenant sites; ValidSites is ignored (FR-022).
Site IDs this rule applies to. Each must be tenant-owned (FR-007, FR-022).
Response
OK
Call-Off Release Rule contract (CAT-7736). Tenant-owned, internally master-catalog-scoped ranked admin rule for the B2B Supply Chain OMS call-off order release pipeline.
Referenced Call-Off-Order Rule codes. Max 1 entry. At least one of ProductRules, CustomerRules, or CallOffOrderRules must be non-empty (FR-007, FR-008).
Unique identifier. Auto-generated on create if not supplied. Immutable after creation. Max 30 characters; must match GeneralAlphaNumericCharactersRegex (FR-005, FR-016).
Referenced Customer Rule codes. Max 1 entry (FR-007, FR-008).
Days before the ship date within which this rule applies. Inclusive [0, 365] (FR-015).
Optional description. Max 500 characters (FR-003).
Whether the rule is active. Defaults to true on insert (FR-003, FR-011).
End of the rule's effective window. Null = never expires. Must be >= StartDate when both supplied.
Read-only. Computed server-side: true when the current UTC instant is inside the effective window (StartDate null/≤now AND EndDate null/≥now), false otherwise. A rule with no dates is always active. This reflects the effective window alone and does not incorporate the enabled flag.
Opaque JSON metadata passthrough. Persisted as nvarchar(MAX). Cleared on PUT if omitted (FR-023).
Minimum fill rate threshold [0, 100] (integer percentage). 0 is valid (FR-027).
Display name. Required. Max 200 characters (FR-003).
Referenced Product Rule criteria. Max 1 entry. Each entry requires both code and masterCatalogId; the (code, masterCatalogId) pair must resolve to an existing ProductRule with RuleType=CallOffRelease (FR-007, FR-008).
Priority rank, unique per (TenantId, MasterCatalogId). Auto-assigned to MAX(Rank)+1 when omitted or ≤0 on create (FR-006, FR-017).
Optional tiebreaker attribute name used by the downstream call-off release engine. Max 50 characters. null, absent, and empty are all accepted (FR-026).
Start of the rule's effective window. Null = no lower bound (already active).
When true the rule applies to all tenant sites; ValidSites is ignored (FR-022).
Site IDs this rule applies to. Each must be tenant-owned (FR-007, FR-022).

