Space Docs
API ReferenceService Type

serviceType.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
namestringYesName
descriptionstringNoDescription
defaultRatenumberYesDefault rate
sortOrderintegerYes0Sort order
workspaceIdstringNoID of the associated workspace

Example

{
  "name": "Example Name",
  "description": "A description",
  "defaultRate": 0,
  "sortOrder": 0,
  "workspaceId": "550e8400-e29b-41d4-a716-446655440000"
}

On this page