PayNow

ProductStockLimitDto

enabledbooleanRequired
Indicates whether stock limit is enabled.
include_trialsbooleanRequired
Indicates if trials should be included in the active stock limit calculation.
time_scaleenumRequired
Possible enum values
  • invalid
  • day
  • week
  • month
  • year
quantityintegerOptional
The quantity limit.
time_valueintegerOptional
The time value for stock limit period.
Example
{
  "enabled": true,
  "include_trials": true,
  "time_scale": "invalid",
  "quantity": 0,
  "time_value": 0
}