freshworks · Schema

DealCreate

Properties

Name Type Description
name string Name of the deal.
amount number Deal value amount.
expected_close string Expected close date.
deal_stage_id integer ID of the deal stage.
deal_pipeline_id integer ID of the pipeline.
probability integer Probability of closing.
sales_account_id integer ID of the associated account.
owner_id integer ID of the owning agent.
custom_field object Custom field values.
View JSON Schema on GitHub

JSON Schema

freshworks-dealcreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DealCreate",
  "title": "DealCreate",
  "type": "object",
  "required": [
    "name",
    "amount"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the deal."
    },
    "amount": {
      "type": "number",
      "description": "Deal value amount."
    },
    "expected_close": {
      "type": "string",
      "format": "date",
      "description": "Expected close date."
    },
    "deal_stage_id": {
      "type": "integer",
      "description": "ID of the deal stage."
    },
    "deal_pipeline_id": {
      "type": "integer",
      "description": "ID of the pipeline."
    },
    "probability": {
      "type": "integer",
      "description": "Probability of closing."
    },
    "sales_account_id": {
      "type": "integer",
      "description": "ID of the associated account."
    },
    "owner_id": {
      "type": "integer",
      "description": "ID of the owning agent."
    },
    "custom_field": {
      "type": "object",
      "additionalProperties": true,
      "description": "Custom field values."
    }
  }
}