updateProductionResource
Changes a production resource. Omitted fields are left unchanged. Requires edit access to the space. Returns the updated resource.
Arguments
idID!ID of the resource to change.
inputProductionResourceInput!Fields to change.
spaceIdID!ID of the space whose inventory holds the resource.
Returns
ProductionResource!Example
mutation UpdateProductionResource($id: ID!, $input: ProductionResourceInput!, $spaceId: ID!) {
updateProductionResource(id: $id, input: $input, spaceId: $spaceId) {
createdAt
deletedAt
externalId
id
itemKind
name
rentalPeriod
supplierContactId
}
}