Skip to content
Pyck docs

updateCustomer

Since pyck v0.27.0

Served by: maindata

Name Type Default Description
id ID!
input UpdateCustomerInput!

Customer

Updates a customer’s data.

mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {
updateCustomer(id: $id, input: $input) {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
tenantID
updatedAt
updatedBy
}
}

Variables

{
"id": "<customer ID>",
"input": {
"data": {
"industry": "technology",
"name": "Acme Corp Updated"
},
"dataTypeID": "<customer data type ID>"
}
}