---
updatedAt: 2025-06-11T21:43:22.000Z
agentTools:
  projectIndex: https://developers.fireberry.com/llms.txt
---

# Batch Update Opportunity Records

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fireberry-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.fireberry.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "tokenid"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v3/record/opportunity/batch/update": {
      "post": {
        "summary": "Batch Update Opportunity Records",
        "description": "",
        "operationId": "batch-update-opportunity-records",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "description": "Add each record's GUID and details below to update them.",
                    "items": {
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Use an opportunity record's globally unique identifier (GUID) to update it."
                        },
                        "record": {
                          "type": "object",
                          "description": "Set the fields you'd like to update in the specified record.",
                          "required": [
                            "accountid",
                            "name"
                          ],
                          "properties": {
                            "accountid": {
                              "type": "string",
                              "description": "The related account's GUID."
                            },
                            "name": {
                              "type": "string",
                              "description": "Name of the opportunity (Primary)."
                            },
                            "closeprobability": {
                              "type": "number",
                              "description": "Probability the opportunity will close successfully.",
                              "format": "float"
                            },
                            "contacttid": {
                              "type": "string",
                              "description": "The related contact's GUID."
                            },
                            "description": {
                              "type": "string",
                              "description": "Description of up to 4,000 characters."
                            },
                            "estimatedclosedate": {
                              "type": "string",
                              "description": "Estimated date and time the deal will be closed by, must be in UTC format.",
                              "format": "date"
                            },
                            "estimatedvalue": {
                              "type": "number",
                              "description": "Estimated total value of the deal.",
                              "format": "float"
                            },
                            "ownerid": {
                              "type": "string",
                              "description": "The GUID of the system user who created the record, can also be set manually. Will be used for permissions."
                            },
                            "statuscode": {
                              "type": "integer",
                              "description": "Status (Picklist)",
                              "format": "int32"
                            }
                          }
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"success\": true,\n    \"data\": {\n        \"Record\": {Data about the created Draft Invoice including all its fields and values}},\n    \"message\": \"\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Message\": \"'FIELD NAME' must be a valid DateTime\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "Could not create record. Check your data"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "'FIELD NAME' must be a valid DateTime"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```