Skip to main content
POST
/
commerce
/
rules
/
safetystock
/
evaluate
Error
A valid request URL is required to generate request examples
[
  {
    "productCode": "<string>",
    "locationCode": "<string>",
    "ruleCode": "<string>",
    "quantity": 123,
    "rank": 123
  }
]

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json

The request containing the products and customer to evaluate

productCode
string | null

Customer ID

locationCode
string | null

List of items to evaluate

Response

Success

productCode
string | null

Customer ID

locationCode
string | null

List of items to evaluate

ruleCode
string | null

List of items to evaluate

quantity
integer<int32> | null

List of items to evaluate

rank
integer<int32> | null