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

createSupplier

Served by: maindata

Name Type
input CreateSupplierInput!

Supplier

Creates a supplier with data type reference and custom data.

mutation CreateSupplier($input: CreateSupplierInput!) {
createSupplier(input: $input) {
createdAt
createdBy
data
dataTypeID
dataTypeSlug
deletedAt
deletedBy
id
tenantID
updatedAt
updatedBy
}
}

Variables

{
"input": {
"data": {
"companyName": "Global Parts Inc",
"region": "EU"
},
"dataTypeID": "<supplier data type ID>"
}
}