Create call-off release rule
Creates a new call-off release rule.
Authorizations
JWT Authorization header using the Bearer scheme.
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).
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).
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).
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).
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).

