Skip to main content
Mutation

updateLocation

Changes a shooting location. Omitted fields are left unchanged. Requires edit access to the space. Returns the updated location.

Arguments

  • idID!

    ID of the location to change.

  • Fields to change.

  • spaceIdID!

    ID of the space.

Returns

Location!

Example

mutation UpdateLocation($id: ID!, $input: LocationInput!, $spaceId: ID!) {
  updateLocation(id: $id, input: $input, spaceId: $spaceId) {
    createdAt
    deletedAt
    id
    name
    updatedAt
  }
}