← API reference
CANONICAL TYPE REFERENCE

CreateJobsFromOrderPayload

Result of createJobsFromOrder: the updated order and the jobs it produced.

The order after job creation. A draft or confirmed order is promoted to inProduction. Null when errors is non-empty.

The created jobs, in input order. Lines with a product template are materialized by the vertical's template-instantiation service; jobs sharing a template are auto-grouped into a job group. Null on failure.

Field-level validation errors, paths such as jobs[0].orderLineId. Empty on success; when non-empty no jobs were created.

View exact SDL
"""
Result of `createJobsFromOrder`: the updated order and the jobs it produced.
"""
type CreateJobsFromOrderPayload {
  """
  The order after job creation. A `draft` or `confirmed` order is promoted to `inProduction`. Null when `errors` is non-empty.
  """
  order: OrderState
  """
  The created jobs, in input order. Lines with a product template are materialized by the vertical's template-instantiation service; jobs sharing a template are auto-grouped into a job group. Null on failure.
  """
  jobs: [JobState!]
  """
  Field-level validation errors, paths such as `jobs[0].orderLineId`. Empty on success; when non-empty no jobs were created.
  """
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.