Skip to main content
Mutation

restoreProductionResource

Restores a deleted production resource. Requires edit access to the space. Returns the restored resource.

Arguments

  • idID!

    ID of the resource to restore.

  • spaceIdID!

    ID of the space whose inventory holds the resource.

Returns

ProductionResource!

Example

mutation RestoreProductionResource($id: ID!, $spaceId: ID!) {
  restoreProductionResource(id: $id, spaceId: $spaceId) {
    createdAt
    deletedAt
    externalId
    id
    itemKind
    name
    rentalPeriod
    supplierContactId
  }
}