Create Safety Stock Rule
Creates a new safety stock rule.
Authorizations
JWT Authorization header using the Bearer scheme.
Query Parameters
limits which fields are returned in the response body
Body
The safety stock rule to create.
Represents a rule for safety stock in the product administration system.
Gets or sets the unique identifier of the SafetyStockRule. If not given provided on create one will be assigned. Read-only after creation.
Gets or sets the description of the SafetyStockRule.
Gets or sets whether the SafetyStockRule is enabled.
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.
Gets or sets the list of location codes where the SafetyStockRule applies.
Gets or sets the list of location groups where the SafetyStockRule applies.
Metadata for the Safety stock rule which is a json format, used to store additional information
Gets or sets the name of the SafetyStockRule.
Gets or sets the list of product rules associated with the SafetyStockRule.
Gets or sets the quantity defined by the SafetyStockRule.
Gets or sets the rank of the SafetyStockRule. When not given or zero, a value will be assigned.
Start of the rule's effective window. Null = no lower bound (already active).
Response
OK
Represents a rule for safety stock in the product administration system.
Gets or sets the unique identifier of the SafetyStockRule. If not given provided on create one will be assigned. Read-only after creation.
Gets or sets the description of the SafetyStockRule.
Gets or sets whether the SafetyStockRule is enabled.
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.
Gets or sets the list of location codes where the SafetyStockRule applies.
Gets or sets the list of location groups where the SafetyStockRule applies.
Metadata for the Safety stock rule which is a json format, used to store additional information
Gets or sets the name of the SafetyStockRule.
Gets or sets the list of product rules associated with the SafetyStockRule.
Gets or sets the quantity defined by the SafetyStockRule.
Gets or sets the rank of the SafetyStockRule. When not given or zero, a value will be assigned.
Start of the rule's effective window. Null = no lower bound (already active).

