Skip to main content
Mutation

assignLocationToProject

Assigns a shooting location of the project's space to the project. Assigning it again has no effect. Requires edit access to the project. Returns the assignment.

Arguments

  • locationIdID!

    ID of the location to assign.

  • projectIdID!

    ID of the project.

Returns

ProjectLocationAssignment!

Example

mutation AssignLocationToProject($locationId: ID!, $projectId: ID!) {
  assignLocationToProject(locationId: $locationId, projectId: $projectId) {
    id
    locationId
    projectId
  }
}