Skip to main content

AccordPatch

Represents an update to a Accord. Fields that are set will be updated.

input AccordPatch {
id: String
accountName: String
accountGlyphUrl: String
opportunityName: String
opportunityAmount: BigFloat
closeDate: Date
sfdcUrl: String
templateId: String
workspaceId: String
version: Int
closeReason: String
closedAt: Datetime
archivedAt: Datetime
deletedAt: Datetime
updatedAt: Datetime
createdAt: Datetime
isTemplate: Boolean
templateName: String
createdById: String
crmId: String
crmType: String
lastUsed: Datetime
crmOpportunityName: String
approvedAt: Datetime
approvedByWorkspaceAccountId: String
createdFromTemplateId: String
isDraft: Boolean
crmObject: String
createdByRuleId: String
createdByExternalEventId: String
dismissedCrmContactIds: [String]
crmObjectCreatedAt: Datetime
stakeholderMap: JSON
crmStageId: String
crmObjectPreference: String
allowedAccess: String
context: String
tabConfig: JSON
description: String
segment: String
region: String
conditionSelections: JSON
autoAssignBanner: Boolean
parentAccordId: String
autoGenerateSummaries: Boolean
positioningWorkspaceDocumentId: String
}

Fields​

AccordPatch.id ● String scalar​

AccordPatch.accountName ● String scalar​

Name of the customer company this accord is with.

AccordPatch.accountGlyphUrl ● String scalar​

AccordPatch.opportunityName ● String scalar​

Name of the deal/opportunity, typically mirrored from the linked CRM record.

AccordPatch.opportunityAmount ● BigFloat scalar​

Monetary value of the deal, typically mirrored from the linked CRM record.

AccordPatch.closeDate ● Date scalar​

Expected close date of the deal.

AccordPatch.sfdcUrl ● String scalar​

AccordPatch.templateId ● String scalar​

AccordPatch.workspaceId ● String scalar​

AccordPatch.version ● Int scalar​

AccordPatch.closeReason ● String scalar​

Free-text reason recorded when the accord was closed.

AccordPatch.closedAt ● Datetime scalar​

When the accord was marked closed (won or lost); null while still open.

AccordPatch.archivedAt ● Datetime scalar​

Soft-archive timestamp; archived accords are hidden from active lists but not deleted.

AccordPatch.deletedAt ● Datetime scalar​

AccordPatch.updatedAt ● Datetime scalar​

AccordPatch.createdAt ● Datetime scalar​

AccordPatch.isTemplate ● Boolean scalar​

When true, this row is a reusable template rather than a live customer-facing accord.

AccordPatch.templateName ● String scalar​

Display name of the template, used when is_template is true.

AccordPatch.createdById ● String scalar​

AccordPatch.crmId ● String scalar​

Identifier of the linked CRM record (e.g. a Salesforce opportunity).

AccordPatch.crmType ● String scalar​

Which CRM the linked record lives in (e.g. salesforce, hubspot).

AccordPatch.lastUsed ● Datetime scalar​

For a template, the last time it was used to spin up a new accord.

AccordPatch.crmOpportunityName ● String scalar​

AccordPatch.approvedAt ● Datetime scalar​

For a template, when it was approved. An approved template is read-only to everyone but admins (the edit, copy and read-only triggers key on is_template plus this column). Only an admin may set or clear it, and only on a template — any other write is silently skipped rather than rejected — and approved_by_workspace_account_id is filled in from the caller.

AccordPatch.approvedByWorkspaceAccountId ● String scalar​

AccordPatch.createdFromTemplateId ● String scalar​

AccordPatch.isDraft ● Boolean scalar​

When true, the accord is still being drafted and has not yet been shared with the customer.

AccordPatch.crmObject ● String scalar​

AccordPatch.createdByRuleId ● String scalar​

AccordPatch.createdByExternalEventId ● String scalar​

AccordPatch.dismissedCrmContactIds ● [String] list scalar​

CRM contact ids the user dismissed from the suggested-contacts prompt.

AccordPatch.crmObjectCreatedAt ● Datetime scalar​

AccordPatch.stakeholderMap ● JSON scalar​

JSON describing the deal's stakeholder map (people, roles, and relationships). Seller-side only: customer sessions read null.

AccordPatch.crmStageId ● String scalar​

AccordPatch.crmObjectPreference ● String scalar​

AccordPatch.allowedAccess ● String scalar​

Who on the customer side may access the accord: all (anyone from an approved accord domain can join), invited-customers (only customers explicitly invited), or sellers (internal only, no customer access). Defaults to all.

AccordPatch.context ● String scalar​

Background text that grounds AI features, authored on a template and read through an accord's created_from_template_id. Holds JSON, or plain text in the legacy format. Null on accords created from a template.

AccordPatch.tabConfig ● JSON scalar​

JSON layout configuration for the accord's custom tabs.

AccordPatch.description ● String scalar​

AccordPatch.segment ● String scalar​

Sales segment classification for the deal, used in reporting.

AccordPatch.region ● String scalar​

Sales region classification for the deal, used in reporting.

AccordPatch.conditionSelections ● JSON scalar​

AccordPatch.autoAssignBanner ● Boolean scalar​

AccordPatch.parentAccordId ● String scalar​

Best-effort link to the parent account-level accord this deal rolls up under — the accord for the CRM account, company or customer the deal's record references. Null when no such parent was resolved.

AccordPatch.autoGenerateSummaries ● Boolean scalar​

AccordPatch.positioningWorkspaceDocumentId ● String scalar​

Member Of​

UpdateAccordByNodeIdInput input ● UpdateAccordInput input