Skip to main content

Production and capacity

warning

This article is under review. The information in the article is mostly obsolete and refer to already removed configurations. Do not use information in this article without active communication with Future Ordering.

note

These articles use the stores import formats to describe stores, most important for producers of the store data (e.g. POS system integration creating stores). Since a store can contain tenant-specific extensions, use the Stores schema endpoints in your specific tenant to understand details on consuming store data.

production defines how order load is scheduled and limited for a store.

It combines slot duration, an order cost estimator, and capacity schedules that are evaluated with conditions.

Production fields

FieldTypeRequiredDescriptionExample
timeslotDurationstringYesDuration of one production slot in ISO-8601 format."PT10M"
orderCostEstimatorobjectYesDefines how an order consumes capacity.{ "type": "PointsPerOrder" }
capacityarrayYesOrdered capacity rules with conditions and schedules.See Capacity rules

Order cost estimator

FieldTypeRequiredDescriptionExample
typestringYesHow order cost is calculated. Allowed values: PointsPerOrder, OrderBasketPoints."PointsPerOrder"
  • PointsPerOrder is typically used for slot-time based production planning.
  • OrderBasketPoints is typically used for promise-time based planning.

Capacity rules

Each capacity entry has conditions and a schedule.

FieldTypeRequiredDescriptionExample
conditionsarrayYesOne or more conditions that must all match. Uses the same condition model as opening hours.[{ "type": "specificdates", "dates": ["2026-06-05"] }]
schedulearrayYesOne or more time intervals and their slot capacity.[{ "from": "00:00", "to": "00:00", "toNextDay": true, "capacityPerTimeslot": 200 }]

Condition types are documented in Opening hours.

Capacity schedule fields

FieldTypeRequiredDescriptionExample
fromstring(HH:mm)YesStart time for the capacity interval."10:00"
tostring(HH:mm)YesEnd time for the capacity interval."14:00"
toNextDaybooleanNoWhen true, to is interpreted as next day.false
capacityPerTimeslotintegerNoMax capacity available per slot in this interval.200

Example

{
"production": {
"timeslotDuration": "PT10M",
"orderCostEstimator": {
"type": "PointsPerOrder"
},
"capacity": [
{
"conditions": [
{
"type": "specificdates",
"dates": ["2026-06-05"]
}
],
"schedule": [
{
"from": "00:00",
"to": "00:00",
"toNextDay": true,
"capacityPerTimeslot": 200
}
]
}
]
}
}