5.9 Soft Time Window Object

A soft time window object has the following fields:

  1. Field: time_windows
    Required: Yes.
    Type: Array of time window objects.
    Description: An array containing the order’s soft delivery times as time window objects. An empty array means no soft time windows.
  2. Field: fixed_hidden_cost
    Required: No.
    Type: Number.
    Default: 0.
    Description: The fixed cost for missing a soft time window. Must be nonnegative.
  3. Field: variable_hidden_cost
    Required: No.
    Type: Number.
    Default: 0.
    Description: The variable cost for missing a soft time window. Must be nonnegative.