Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

updateLocation

Served by: management

Name Type
id ID!
input UpdateLocationInput!

LocationOutput!

Updates an existing location’s name or data.

mutation UpdateLocation($id: ID!, $input: UpdateLocationInput!) {
updateLocation(id: $id, input: $input) {
eventCount
location {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
name
tenantID
updatedAt
updatedBy
}
transactionID
}
}

Variables

{
"id": "<location ID>",
"input": {
"name": "Zone A - Rack 1 Updated"
}
}