Skip to main content

UpdateContractInput

Provides the fields and values to use when updating a contract.

input UpdateContractInput {
id: ID!
parentId: ID
name: String
status: ID
externalCode: String
isNotarized: Boolean
signedAt: Date
startAt: Date
dueAt: Date
completedAt: Date
warrantyDueAt: Date
typeId: ID
priceListId: ID
sum: ContractSumInput
filesPath: String
description: String
geometry: JSON
members: ContractRelatedMembersInput
contacts: ContractRelatedContactsInput
projects: RelatedProjectsInput
properties: RelatedPropertiesInput
tasks: RelatedTasksInput
letters: RelatedLettersInput
meters: RelatedMetersInput
invoices: RelatedInvoicesInput
expenses: RelatedExpensesInput
quotes: RelatedQuotesInput
acts: RelatedActsInput
tags: RelatedTagsInput
}

Fields​

UpdateContractInput.id ● ID! non-null scalar​

Specifies the contract to update.

UpdateContractInput.parentId ● ID scalar​

The contract's parent contract.

UpdateContractInput.name ● String scalar​

The contract's name.

UpdateContractInput.status ● ID scalar​

The contract's status.

UpdateContractInput.externalCode ● String scalar​

The contract's external code.

UpdateContractInput.isNotarized ● Boolean scalar​

Whether the easement has been notarized.

UpdateContractInput.signedAt ● Date scalar​

Signed date of the contract.

UpdateContractInput.startAt ● Date scalar​

Start date of the contract.

UpdateContractInput.dueAt ● Date scalar​

Due date of the contract.

UpdateContractInput.completedAt ● Date scalar​

Completed date of the contract.

UpdateContractInput.warrantyDueAt ● Date scalar​

Warranty due date of the contract.

UpdateContractInput.typeId ● ID scalar​

The contract's type. Only allowed when the new type belongs to the same numbering series as the current one. Cannot be cleared on numbered records; once the document is numbered this field is required.

UpdateContractInput.priceListId ● ID scalar​

The contract's price list.

UpdateContractInput.sum ● ContractSumInput input​

The contract's sum.

UpdateContractInput.filesPath ● String scalar​

The contract's files path.

UpdateContractInput.description ● String scalar​

The contract's description.

UpdateContractInput.geometry ● JSON scalar​

The contract's geometry as GeoJSON. Optional top-level "color" (hex bg/line), "iconColor" (hex glyph) and "icon" (Iconify id) keys provide map styling.

UpdateContractInput.members ● ContractRelatedMembersInput input​

The contract's members relation.

UpdateContractInput.contacts ● ContractRelatedContactsInput input​

The contract's contacts relation.

UpdateContractInput.projects ● RelatedProjectsInput input​

The contract's projects relation.

UpdateContractInput.properties ● RelatedPropertiesInput input​

The contract's properties relation.

UpdateContractInput.tasks ● RelatedTasksInput input​

The contract's tasks relation.

UpdateContractInput.letters ● RelatedLettersInput input​

The contract's letters relation.

UpdateContractInput.meters ● RelatedMetersInput input​

The contract's meters relation.

UpdateContractInput.invoices ● RelatedInvoicesInput input​

The contract's invoices relation.

UpdateContractInput.expenses ● RelatedExpensesInput input​

The contract's expenses relation.

UpdateContractInput.quotes ● RelatedQuotesInput input​

The contract's quotes relation.

UpdateContractInput.acts ● RelatedActsInput input​

The contract's acts relation.

UpdateContractInput.tags ● RelatedTagsInput input​

The contract's tags relation.

Member Of​

updateContract mutation