createProductionResource
Creates a production resource in a space's inventory. Requires edit access to the space. Returns the new resource.
Arguments
inputProductionResourceInput!Fields of the new resource.
spaceIdID!ID of the space to add the resource to.
Returns
ProductionResource!Example
mutation CreateProductionResource($input: ProductionResourceInput!, $spaceId: ID!) {
createProductionResource(input: $input, spaceId: $spaceId) {
createdAt
deletedAt
externalId
id
itemKind
name
rentalPeriod
supplierContactId
}
}