A valid request URL is required to generate request examples{
"code": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"productRules": [
{
"code": "<string>",
"masterCatalogId": 123
}
],
"locationCodes": [
"<string>"
],
"locationGroups": [
"<string>"
],
"quantity": 123,
"rank": 123,
"metaData": "<unknown>",
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}Updates an existing safety stock rule.
A valid request URL is required to generate request examples{
"code": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"productRules": [
{
"code": "<string>",
"masterCatalogId": 123
}
],
"locationCodes": [
"<string>"
],
"locationGroups": [
"<string>"
],
"quantity": 123,
"rank": 123,
"metaData": "<unknown>",
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}JWT Authorization header using the Bearer scheme.
The code of the safety stock rule to update.
limits which fields are returned in the response body
The updated safety stock rule.
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 name of the SafetyStockRule.
Gets or sets the description of the SafetyStockRule.
Gets or sets whether the SafetyStockRule is enabled.
Gets or sets the list of product rules associated with the SafetyStockRule.
Show child attributes
Gets or sets the list of location codes where the SafetyStockRule applies.
Gets or sets the list of location groups where the SafetyStockRule applies.
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.
Metadata for the Safety stock rule which is a json format, used to store additional information
Show child attributes
Success
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 name of the SafetyStockRule.
Gets or sets the description of the SafetyStockRule.
Gets or sets whether the SafetyStockRule is enabled.
Gets or sets the list of product rules associated with the SafetyStockRule.
Show child attributes
Gets or sets the list of location codes where the SafetyStockRule applies.
Gets or sets the list of location groups where the SafetyStockRule applies.
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.
Metadata for the Safety stock rule which is a json format, used to store additional information
Show child attributes