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

createCustomer

Served by: maindata

Name Type
input CreateCustomerInput!

Customer

Creates a customer with data type reference and custom data.

mutation CreateCustomer($input: CreateCustomerInput!) {
createCustomer(input: $input) {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
tenantID
updatedAt
updatedBy
}
}

Variables

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