Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.firstresonance.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Create a new part in the catalog. Use case group: Build Hardware

Mutation

mutation CreatePart($input: PartCreateInput!) {
  createPart(input: $input) {
    part { id partNumber description revision partType status }
  }
}

Variables

{
  "input": {
    "partNumber": "TEST-001",
    "description": "Integration test part",
    "revision": "A",
    "partType": "part",
    "trackingType": "lot"
  }
}

Sample response

{
  "data": {
    "createPart": {
      "part": {
        "id": 999,
        "partNumber": "TEST-001",
        "description": "Integration test part",
        "revision": "A",
        "partType": "part",
        "status": "released"
      }
    }
  }
}

Notes

  • partNumber must be unique within the org for a given revision.
  • partType is part or tool.
  • trackingType is serial, lot, or omitted (untracked).
  • To assign part subtypes (categorization), use the part-subtypes attach mutations after the part exists, or pass the subtype ID set via partSubtypeIds if your tenant exposes that input.
  • Use a sandbox tenant for testing.