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

# Batch Update Asset 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/accountproduct/batch/update": {
      "post": {
        "summary": "Batch Update Asset Records",
        "description": "",
        "operationId": "create-an-asset-copy",
        "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 asset 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",
                            "productid"
                          ],
                          "properties": {
                            "accountid": {
                              "type": "string",
                              "description": "The related account's GUID."
                            },
                            "productid": {
                              "type": "string",
                              "description": "The related product's GUID."
                            },
                            "description": {
                              "type": "string",
                              "description": "Description of up to 4,000 characters."
                            },
                            "expiredate": {
                              "type": "string",
                              "description": "UTC formatted date and time of expiration.",
                              "format": "date"
                            },
                            "installdate": {
                              "type": "string",
                              "description": "UTC formatted date and time of installation.",
                              "format": "date"
                            },
                            "ordinalnumber": {
                              "type": "string",
                              "description": "Used for identification of the asset, unique values are recommended."
                            },
                            "ownerid": {
                              "type": "string",
                              "description": "The GUID of the system user who created the record, can also be set manually. Will be used for permissions."
                            },
                            "price": {
                              "type": "number",
                              "description": "Price",
                              "format": "float"
                            },
                            "purchasedate": {
                              "type": "string",
                              "description": "Date and time of the purchase in UTC format.",
                              "format": "date"
                            },
                            "quantity": {
                              "type": "number",
                              "description": "Quantity of the selected product.",
                              "format": "float"
                            },
                            "service": {
                              "type": "string",
                              "description": "Short description of the service."
                            },
                            "statuscode": {
                              "type": "integer",
                              "description": "Status of the asset (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 account product including all its fields and values}\n    },\n    \"message\": \"\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Message\": \"'FIELD NAME' must be a valid Number\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "GUID is not a valid value for 'LOOKUP TABLE NAME'"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "'FIELD NAME' must be a valid Number"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```