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