Mutations
Mutations
addCarToFleet
Unstable Fleet features are in active development and may change without warning
Returns: ID!
Requires permission: fleets:manage
| Argument | Type | Description |
|---|---|---|
input |
AddCarToFleetInput! |
mutation AddCarToFleet($input: AddCarToFleetInput!) {
addCarToFleet(input: $input)
}
{
"input": {
"fleetId": "def456",
"plate": "example",
"state": "example"
}
}
{
"data": {
"addCarToFleet": "abc123"
}
}
addCarToMembership
Returns: MembershipCar!
Requires permission: subscriptions:manage
| Argument | Type | Description |
|---|---|---|
input |
AddCarToMembershipInput! |
mutation AddCarToMembership($input: AddCarToMembershipInput!) {
addCarToMembership(input: $input) {
id
createdAt
nickname
removingAt
car {
id
bodyType
color
createdAt
}
}
}
{
"input": {
"membershipId": "def456",
"plate": "example",
"state": "example",
"targetPriceId": "ghi789"
}
}
{
"data": {
"addCarToMembership": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"nickname": "example",
"removingAt": "2026-01-15T14:30:00.000Z",
"car": {
"id": "abc123",
"bodyType": "example",
"color": "example",
"createdAt": "2026-01-15T14:30:00.000Z"
}
}
}
}
addCarToOwnerPlan
Add a car to an owner plan
Returns: OwnerCar!
Requires permission: owner-plans:manage
| Argument | Type | Description |
|---|---|---|
input |
AddCarToOwnerPlanInput! |
mutation AddCarToOwnerPlan($input: AddCarToOwnerPlanInput!) {
addCarToOwnerPlan(input: $input) {
id
createdAt
nickname
plate
state
updatedAt
}
}
{
"input": {
"ownerPlanId": "def456",
"plate": "example",
"state": "example"
}
}
{
"data": {
"addCarToOwnerPlan": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"nickname": "example",
"plate": "example",
"state": "example",
"updatedAt": "2026-01-15T14:30:00.000Z"
}
}
}
archiveNote
Returns: Note!
| Argument | Type | Description |
|---|---|---|
id |
ID! |
mutation ArchiveNote($id: ID!) {
archiveNote(id: $id) {
id
archivedAt
createdAt
customerId
note
updatedAt
archivedBy {
id
createdAt
externalId
isActive
}
createdBy {
id
createdAt
externalId
isActive
}
}
}
{
"id": "abc123"
}
{
"data": {
"archiveNote": {
"id": "abc123",
"archivedAt": "2026-01-15T14:30:00.000Z",
"createdAt": "2026-01-15T14:30:00.000Z",
"customerId": "def456",
"note": "example",
"updatedAt": "2026-01-15T14:30:00.000Z",
"archivedBy": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"externalId": "ghi789",
"isActive": true
},
"createdBy": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"externalId": "ghi789",
"isActive": true
}
}
}
}
cancelCarRemoval
Returns: MembershipCar!
Requires permission: subscriptions:manage
| Argument | Type | Description |
|---|---|---|
input |
CancelCarRemovalInput! |
mutation CancelCarRemoval($input: CancelCarRemovalInput!) {
cancelCarRemoval(input: $input) {
id
createdAt
nickname
removingAt
car {
id
bodyType
color
createdAt
}
}
}
{
"input": {
"carId": "def456",
"membershipId": "ghi789",
"targetPriceId": "jkl012"
}
}
{
"data": {
"cancelCarRemoval": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"nickname": "example",
"removingAt": "2026-01-15T14:30:00.000Z",
"car": {
"id": "abc123",
"bodyType": "example",
"color": "example",
"createdAt": "2026-01-15T14:30:00.000Z"
}
}
}
}
cancelCarRemovalFromFleet
Unstable Fleet features are in active development and may change without warning
Returns: ID!
Requires permission: fleets:manage
| Argument | Type | Description |
|---|---|---|
input |
CancelCarRemovalFromFleetInput! |
mutation CancelCarRemovalFromFleet($input: CancelCarRemovalFromFleetInput!) {
cancelCarRemovalFromFleet(input: $input)
}
{
"input": {
"carId": "def456",
"fleetId": "ghi789"
}
}
{
"data": {
"cancelCarRemovalFromFleet": "abc123"
}
}
cancelFleet
Unstable Fleet features are in active development and may change without warning
Returns: ID!
Requires permission: fleets:manage
| Argument | Type | Description |
|---|---|---|
input |
CancelFleetInput! |
mutation CancelFleet($input: CancelFleetInput!) {
cancelFleet(input: $input)
}
{
"input": {
"cancelType": "END_OF_PERIOD",
"id": "def456"
}
}
{
"data": {
"cancelFleet": "abc123"
}
}
cancelSubscription
Schedule cancellation of a RollerUp subscription at the end of the current billing period.
Cars stay linked and can wash until the period ends.
Returns: RollerupSubscription!
Requires permission: subscriptions:manage
| Argument | Type | Description |
|---|---|---|
input |
CancelSubscriptionInput! |
mutation CancelSubscription($input: CancelSubscriptionInput!) {
cancelSubscription(input: $input) {
id
billingCustomerId
billingFrequency
billingSubscriptionId
cancelAt
cancelledAt
createdAt
currentPeriodEnd
customer {
id
city
country
createdAt
}
defaultPaymentMethod {
id
cardBrand
cardLast4
createdAt
}
location {
id
cashEnabled
city
companyId
}
}
}
{
"input": {
"cancellationReasonId": "abc123",
"subscriptionId": "def456"
}
}
{
"data": {
"cancelSubscription": {
"id": "abc123",
"billingCustomerId": "def456",
"billingFrequency": "example",
"billingSubscriptionId": "ghi789",
"cancelAt": "2026-01-15T14:30:00.000Z",
"cancelledAt": "2026-01-15T14:30:00.000Z",
"createdAt": "2026-01-15T14:30:00.000Z",
"currentPeriodEnd": "2026-01-15T14:30:00.000Z",
"customer": {
"id": "abc123",
"city": "example",
"country": "example",
"createdAt": "2026-01-15T14:30:00.000Z"
},
"defaultPaymentMethod": {
"id": "abc123",
"cardBrand": "example",
"cardLast4": "example",
"createdAt": "2026-01-15T14:30:00.000Z"
},
"location": {
"id": "abc123",
"cashEnabled": true,
"city": "example",
"companyId": "jkl012"
}
}
}
}
createDiscount
Create a new discount. Either amountOff or percentOff must be specified, but not both
Returns: Discount!
Requires permission: discounts:manage
| Argument | Type | Description |
|---|---|---|
input |
CreateDiscountInput! |
mutation CreateDiscount($input: CreateDiscountInput!) {
createDiscount(input: $input) {
id
amountOff
createdAt
duration
durationInMonths
maxRedemptions
name
percentOff
availabilitySchedule {
durationMinutes
endDate
rrule
startDate
}
}
}
{
"input": {
"duration": "FOREVER",
"name": "example",
"amountOff": 1
}
}
{
"data": {
"createDiscount": {
"id": "abc123",
"amountOff": 1,
"createdAt": "2026-01-15T14:30:00.000Z",
"duration": "FOREVER",
"durationInMonths": 1,
"maxRedemptions": 1,
"name": "example",
"percentOff": 1,
"availabilitySchedule": {
"durationMinutes": 1,
"endDate": "2026-01-15T14:30:00.000Z",
"rrule": "FREQ=MONTHLY;BYMONTHDAY=1",
"startDate": "2026-01-15T14:30:00.000Z"
}
}
}
}
createFleet
Unstable Fleet features are in active development and may change without warning
Returns: FleetInvitationPayload!
Requires permission: fleets:manage
| Argument | Type | Description |
|---|---|---|
input |
CreateFleetInput! |
mutation CreateFleet($input: CreateFleetInput!) {
createFleet(input: $input) {
code
fleet {
id
businessName
city
contactName
}
}
}
{
"input": {
"businessName": "example",
"email": "jane@example.com",
"locationId": "def456",
"phone": "+15555550123",
"price": {
"amount": 1,
"tiers": [
{
"fromQuantity": 1,
"unitAmount": 1
}
]
},
"productId": "ghi789"
}
}
{
"data": {
"createFleet": {
"code": "example",
"fleet": {
"id": "abc123",
"businessName": "example",
"city": "example",
"contactName": "example"
}
}
}
}
createNote
Returns: Note!
| Argument | Type | Description |
|---|---|---|
input |
CreateNoteInput! |
mutation CreateNote($input: CreateNoteInput!) {
createNote(input: $input) {
id
archivedAt
createdAt
customerId
note
updatedAt
archivedBy {
id
createdAt
externalId
isActive
}
createdBy {
id
createdAt
externalId
isActive
}
}
}
{
"input": {
"customerId": "def456",
"note": "example"
}
}
{
"data": {
"createNote": {
"id": "abc123",
"archivedAt": "2026-01-15T14:30:00.000Z",
"createdAt": "2026-01-15T14:30:00.000Z",
"customerId": "def456",
"note": "example",
"updatedAt": "2026-01-15T14:30:00.000Z",
"archivedBy": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"externalId": "ghi789",
"isActive": true
},
"createdBy": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"externalId": "ghi789",
"isActive": true
}
}
}
}
createOwnerPlan
Create a new owner plan
Returns: OwnerPlan!
Requires permission: owner-plans:manage
| Argument | Type | Description |
|---|---|---|
input |
CreateOwnerPlanInput! |
mutation CreateOwnerPlan($input: CreateOwnerPlanInput!) {
createOwnerPlan(input: $input) {
id
city
createdAt
description
email
expiresAt
name
phone
cars {
id
createdAt
nickname
plate
}
washPackage {
id
createdAt
description
externalId
}
}
}
{
"input": {
"name": "example",
"washPackageId": "ghi789"
}
}
{
"data": {
"createOwnerPlan": {
"id": "abc123",
"city": "example",
"createdAt": "2026-01-15T14:30:00.000Z",
"description": "example",
"email": "jane@example.com",
"expiresAt": "2026-01-15T14:30:00.000Z",
"name": "example",
"phone": "example",
"cars": [
{
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"nickname": "example",
"plate": "example"
}
],
"washPackage": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"description": "example",
"externalId": "def456"
}
}
}
}
createPumpWashCode
Create a pump wash code from a controller/PLC event
Returns: PumpWashCode!
| Argument | Type | Description |
|---|---|---|
input |
CreatePumpWashCodeInput! |
mutation CreatePumpWashCode($input: CreatePumpWashCodeInput!) {
createPumpWashCode(input: $input) {
id
activatedAt
code
createdAt
expiration
locationId
pumpWashControllerId
pumpWashPackageId
pumpWashPackage {
id
packageNumber
washPackageId
}
}
}
{
"input": {
"code": "example",
"controllerId": "def456",
"packageNumber": 1
}
}
{
"data": {
"createPumpWashCode": {
"id": "abc123",
"activatedAt": "2026-01-15T14:30:00.000Z",
"code": "example",
"createdAt": "2026-01-15T14:30:00.000Z",
"expiration": "2026-01-15T14:30:00.000Z",
"locationId": "def456",
"pumpWashControllerId": "ghi789",
"pumpWashPackageId": "jkl012",
"pumpWashPackage": {
"id": "abc123",
"packageNumber": 1,
"washPackageId": "abc123"
}
}
}
}
createUser
Create a new user. Requires ‘users:manage’ permission
Returns: MutateUserResponse!
Requires permission: users:manage
| Argument | Type | Description |
|---|---|---|
input |
CreateUserInput! |
User creation parameters |
mutation CreateUser($input: CreateUserInput!) {
createUser(input: $input) {
tempPassword
user {
id
createdAt
email
externalId
}
}
}
{
"input": {
"groupIds": [
"ghi789"
],
"name": "example"
}
}
{
"data": {
"createUser": {
"tempPassword": "example",
"user": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"email": "jane@example.com",
"externalId": "def456"
}
}
}
}
createWashPackage
Create a new Wash package. Requires the ‘wash-packages:manage’ permission
Returns: WashPackage!
Requires permission: wash-packages:manage
| Argument | Type | Description |
|---|---|---|
input |
CreateWashPackageInput! |
mutation CreateWashPackage($input: CreateWashPackageInput!) {
createWashPackage(input: $input) {
id
createdAt
description
externalId
includesInterior
name
updatedAt
}
}
{
"input": {
"name": "example"
}
}
{
"data": {
"createWashPackage": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"description": "example",
"externalId": "def456",
"includesInterior": true,
"name": "example",
"updatedAt": "2026-01-15T14:30:00.000Z"
}
}
}
deactivateUser
Deactivate a user account, preventing them from logging in. Requires ‘users:manage’ permission
Returns: User!
Requires permission: users:manage
| Argument | Type | Description |
|---|---|---|
id |
ID! |
The id of the user to deactivate |
mutation DeactivateUser($id: ID!) {
deactivateUser(id: $id) {
id
createdAt
email
externalId
isActive
name
permissions
phone
company {
id
features
maxCarsPerFamilyMembership
name
}
groups {
id
description
isAdmin
name
}
}
}
{
"id": "abc123"
}
{
"data": {
"deactivateUser": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"email": "jane@example.com",
"externalId": "def456",
"isActive": true,
"name": "example",
"permissions": [
"example"
],
"phone": "+15555550123",
"company": {
"id": "abc123",
"features": [
"example"
],
"maxCarsPerFamilyMembership": 1,
"name": "example"
},
"groups": [
{
"id": "abc123",
"description": "example",
"isAdmin": true,
"name": "example"
}
]
}
}
}
deleteOwnerPlan
Delete an owner plan (soft delete)
Returns: ID!
Requires permission: owner-plans:manage
| Argument | Type | Description |
|---|---|---|
id |
ID! |
mutation DeleteOwnerPlan($id: ID!) {
deleteOwnerPlan(id: $id)
}
{
"id": "def456"
}
{
"data": {
"deleteOwnerPlan": "abc123"
}
}
mergeCars
Merge the source car into the target car, moving its history and filling in
any missing plate, state, or RFID. The source car is removed. This cannot be undone.
Returns: MergeCarsResult!
Requires permission: cars:manage
| Argument | Type | Description |
|---|---|---|
input |
MergeCarsInput! |
mutation MergeCars($input: MergeCarsInput!) {
mergeCars(input: $input) {
mergedCarId
}
}
{
"input": {
"sourceCarId": "def456",
"targetCarId": "ghi789"
}
}
{
"data": {
"mergeCars": {
"mergedCarId": "abc123"
}
}
}
mergeCustomers
Merge one RollerUp customer into another. The source customer’s subscriptions,
paid invoices, and stripe customers are re-pointed to the target; any null fields
on the target are backfilled from the source; the source row is then hard-deleted.
A snapshot of the source row is preserved in the customer_merges audit table.
Requires the ‘customers:manage’ permission.
Returns: RollerupCustomer!
Requires permission: customers:manage
| Argument | Type | Description |
|---|---|---|
input |
MergeCustomersInput! |
mutation MergeCustomers($input: MergeCustomersInput!) {
mergeCustomers(input: $input) {
id
city
country
createdAt
email
externalBillingId
isActiveMember
isExternallyManaged
notes {
id
archivedAt
createdAt
customerId
}
subscriptions {
id
billingCustomerId
billingFrequency
billingSubscriptionId
}
}
}
{
"input": {
"sourceId": "def456",
"targetId": "ghi789"
}
}
{
"data": {
"mergeCustomers": {
"id": "abc123",
"city": "example",
"country": "example",
"createdAt": "2026-01-15T14:30:00.000Z",
"email": "jane@example.com",
"externalBillingId": "def456",
"isActiveMember": true,
"isExternallyManaged": true,
"notes": [
{
"id": "abc123",
"archivedAt": "2026-01-15T14:30:00.000Z",
"createdAt": "2026-01-15T14:30:00.000Z",
"customerId": "ghi789"
}
],
"subscriptions": [
{
"id": "abc123",
"billingCustomerId": "jkl012",
"billingFrequency": "example",
"billingSubscriptionId": "abc123"
}
]
}
}
}
reactivateUser
Reactivate a previously deactivated user account, restoring their ability to log in. Requires ‘users:manage’ permission
Returns: User!
Requires permission: users:manage
| Argument | Type | Description |
|---|---|---|
id |
ID! |
The id of the user to reactivate |
mutation ReactivateUser($id: ID!) {
reactivateUser(id: $id) {
id
createdAt
email
externalId
isActive
name
permissions
phone
company {
id
features
maxCarsPerFamilyMembership
name
}
groups {
id
description
isAdmin
name
}
}
}
{
"id": "abc123"
}
{
"data": {
"reactivateUser": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"email": "jane@example.com",
"externalId": "def456",
"isActive": true,
"name": "example",
"permissions": [
"example"
],
"phone": "+15555550123",
"company": {
"id": "abc123",
"features": [
"example"
],
"maxCarsPerFamilyMembership": 1,
"name": "example"
},
"groups": [
{
"id": "abc123",
"description": "example",
"isAdmin": true,
"name": "example"
}
]
}
}
}
redeemPumpWashCode
Redeem a pump wash code for a company/location
Returns: PumpWashCode!
| Argument | Type | Description |
|---|---|---|
input |
RedeemPumpWashCodeInput! |
mutation RedeemPumpWashCode($input: RedeemPumpWashCodeInput!) {
redeemPumpWashCode(input: $input) {
id
activatedAt
code
createdAt
expiration
locationId
pumpWashControllerId
pumpWashPackageId
pumpWashPackage {
id
packageNumber
washPackageId
}
}
}
{
"input": {
"code": "example"
}
}
{
"data": {
"redeemPumpWashCode": {
"id": "abc123",
"activatedAt": "2026-01-15T14:30:00.000Z",
"code": "example",
"createdAt": "2026-01-15T14:30:00.000Z",
"expiration": "2026-01-15T14:30:00.000Z",
"locationId": "def456",
"pumpWashControllerId": "ghi789",
"pumpWashPackageId": "jkl012",
"pumpWashPackage": {
"id": "abc123",
"packageNumber": 1,
"washPackageId": "abc123"
}
}
}
}
removeCarFromFleet
Unstable Fleet features are in active development and may change without warning
Returns: ID!
Requires permission: fleets:manage
| Argument | Type | Description |
|---|---|---|
input |
RemoveCarFromFleetInput! |
mutation RemoveCarFromFleet($input: RemoveCarFromFleetInput!) {
removeCarFromFleet(input: $input)
}
{
"input": {
"carId": "def456",
"fleetId": "ghi789"
}
}
{
"data": {
"removeCarFromFleet": "abc123"
}
}
removeCarFromMembership
Returns: MembershipCar!
Requires permission: subscriptions:manage
| Argument | Type | Description |
|---|---|---|
input |
RemoveCarFromMembershipInput! |
mutation RemoveCarFromMembership($input: RemoveCarFromMembershipInput!) {
removeCarFromMembership(input: $input) {
id
createdAt
nickname
removingAt
car {
id
bodyType
color
createdAt
}
}
}
{
"input": {
"carId": "def456",
"membershipId": "ghi789",
"targetPriceId": "jkl012"
}
}
{
"data": {
"removeCarFromMembership": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"nickname": "example",
"removingAt": "2026-01-15T14:30:00.000Z",
"car": {
"id": "abc123",
"bodyType": "example",
"color": "example",
"createdAt": "2026-01-15T14:30:00.000Z"
}
}
}
}
removeCarFromOwnerPlan
Remove a car from an owner plan
Returns: ID!
Requires permission: owner-plans:manage
| Argument | Type | Description |
|---|---|---|
id |
ID! |
mutation RemoveCarFromOwnerPlan($id: ID!) {
removeCarFromOwnerPlan(id: $id)
}
{
"id": "def456"
}
{
"data": {
"removeCarFromOwnerPlan": "abc123"
}
}
updateCustomer
Update a RollerUp customer’s name, email, or phone. Only fields provided in the input
are updated. If the new email matches another customer in the same company, the
mutation fails with a CUSTOMER_EMAIL_CONFLICT error whose extensions include the
conflicting customer id so the client can offer a merge.
Returns: RollerupCustomer!
Requires permission: customers:manage
| Argument | Type | Description |
|---|---|---|
input |
UpdateCustomerInput! |
mutation UpdateCustomer($input: UpdateCustomerInput!) {
updateCustomer(input: $input) {
id
city
country
createdAt
email
externalBillingId
isActiveMember
isExternallyManaged
notes {
id
archivedAt
createdAt
customerId
}
subscriptions {
id
billingCustomerId
billingFrequency
billingSubscriptionId
}
}
}
{
"input": {
"id": "abc123"
}
}
{
"data": {
"updateCustomer": {
"id": "abc123",
"city": "example",
"country": "example",
"createdAt": "2026-01-15T14:30:00.000Z",
"email": "jane@example.com",
"externalBillingId": "def456",
"isActiveMember": true,
"isExternallyManaged": true,
"notes": [
{
"id": "abc123",
"archivedAt": "2026-01-15T14:30:00.000Z",
"createdAt": "2026-01-15T14:30:00.000Z",
"customerId": "ghi789"
}
],
"subscriptions": [
{
"id": "abc123",
"billingCustomerId": "jkl012",
"billingFrequency": "example",
"billingSubscriptionId": "abc123"
}
]
}
}
}
updateFleet
Unstable Fleet features are in active development and may change without warning
Returns: Fleet!
Requires permission: fleets:manage
| Argument | Type | Description |
|---|---|---|
input |
UpdateFleetInput! |
mutation UpdateFleet($input: UpdateFleetInput!) {
updateFleet(input: $input) {
id
businessName
city
contactName
country
createdAt
customerId
description
company {
id
features
maxCarsPerFamilyMembership
name
}
createdBy {
id
createdAt
externalId
isActive
}
customer {
id
city
country
createdAt
}
}
}
{
"input": {
"id": "abc123"
}
}
{
"data": {
"updateFleet": {
"id": "abc123",
"businessName": "example",
"city": "example",
"contactName": "example",
"country": "example",
"createdAt": "2026-01-15T14:30:00.000Z",
"customerId": "def456",
"description": "example",
"company": {
"id": "abc123",
"features": [
"example"
],
"maxCarsPerFamilyMembership": 1,
"name": "example"
},
"createdBy": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"externalId": "ghi789",
"isActive": true
},
"customer": {
"id": "abc123",
"city": "example",
"country": "example",
"createdAt": "2026-01-15T14:30:00.000Z"
}
}
}
}
updateOwnerPlan
Update an existing owner plan
Returns: OwnerPlan!
Requires permission: owner-plans:manage
| Argument | Type | Description |
|---|---|---|
input |
UpdateOwnerPlanInput! |
mutation UpdateOwnerPlan($input: UpdateOwnerPlanInput!) {
updateOwnerPlan(input: $input) {
id
city
createdAt
description
email
expiresAt
name
phone
cars {
id
createdAt
nickname
plate
}
washPackage {
id
createdAt
description
externalId
}
}
}
{
"input": {
"id": "abc123"
}
}
{
"data": {
"updateOwnerPlan": {
"id": "abc123",
"city": "example",
"createdAt": "2026-01-15T14:30:00.000Z",
"description": "example",
"email": "jane@example.com",
"expiresAt": "2026-01-15T14:30:00.000Z",
"name": "example",
"phone": "example",
"cars": [
{
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"nickname": "example",
"plate": "example"
}
],
"washPackage": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"description": "example",
"externalId": "def456"
}
}
}
}
updateOwnerPlanCar
Update a car on an owner plan (e.g., change nickname)
Returns: OwnerCar!
Requires permission: owner-plans:manage
| Argument | Type | Description |
|---|---|---|
input |
UpdateOwnerPlanCarInput! |
mutation UpdateOwnerPlanCar($input: UpdateOwnerPlanCarInput!) {
updateOwnerPlanCar(input: $input) {
id
createdAt
nickname
plate
state
updatedAt
}
}
{
"input": {
"id": "abc123"
}
}
{
"data": {
"updateOwnerPlanCar": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"nickname": "example",
"plate": "example",
"state": "example",
"updatedAt": "2026-01-15T14:30:00.000Z"
}
}
}
updateUser
Update an existing user. Requires ‘users:manage’ permission
Returns: MutateUserResponse!
Requires permission: users:manage
| Argument | Type | Description |
|---|---|---|
input |
UpdateUserInput! |
User update parameters |
mutation UpdateUser($input: UpdateUserInput!) {
updateUser(input: $input) {
tempPassword
user {
id
createdAt
email
externalId
}
}
}
{
"input": {
"id": "abc123"
}
}
{
"data": {
"updateUser": {
"tempPassword": "example",
"user": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"email": "jane@example.com",
"externalId": "def456"
}
}
}
}
updateWashPackage
Update an existing Wash package. Requires the ‘wash-packages:manage’ permission
Returns: WashPackage!
Requires permission: wash-packages:manage
| Argument | Type | Description |
|---|---|---|
input |
UpdateWashPackageInput! |
mutation UpdateWashPackage($input: UpdateWashPackageInput!) {
updateWashPackage(input: $input) {
id
createdAt
description
externalId
includesInterior
name
updatedAt
}
}
{
"input": {
"id": "abc123"
}
}
{
"data": {
"updateWashPackage": {
"id": "abc123",
"createdAt": "2026-01-15T14:30:00.000Z",
"description": "example",
"externalId": "def456",
"includesInterior": true,
"name": "example",
"updatedAt": "2026-01-15T14:30:00.000Z"
}
}
}