← API reference
Mutation / jobs

upsertWorkCenterShiftProfile

Creates a work center shift profile, or fully replaces an existing one when input.id is supplied (createdAt is preserved). Requires workCenter:write.

Arguments

The profile to write. Supplying an existing id replaces that profile's fields; omitting id creates a new one.

Returns UpsertWorkCenterShiftProfilePayload!

Explore in a view

Production Floor
View exact SDL
"""
Creates a work center shift profile, or fully replaces an existing one when input.id is supplied (createdAt is preserved). Requires workCenter:write.
"""
upsertWorkCenterShiftProfile(
  """
  The profile to write. Supplying an existing id replaces that profile's fields; omitting id creates a new one.
  """
  input: UpsertWorkCenterShiftProfileInput!
): UpsertWorkCenterShiftProfilePayload! @topic(names: ["jobs"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.