← API reference
Mutation / print.prepress

createSubstrate

Create a new substrate, failing if the code is already taken. Requires substrate:write permission.

Arguments

Substrate data

Returns UpsertSubstratePayload!

Explore in a view

Print Prepress
View exact SDL
"""
Create a new substrate, failing if the code is already taken. Requires substrate:write permission.
"""
createSubstrate(
  """Substrate data"""
  input: CreateSubstrateInput!
): UpsertSubstratePayload! @topic(names: ["print.prepress"])

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