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