updateLocation
Since pyck v0.27.0
Served by: management
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
id |
ID! | ||
input |
UpdateLocationInput! |
Returns
Section titled “Returns”Example
Section titled “Example”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" }}