/v4/spreadsheets/{spreadsheetId}/values:batchUpdate
POST
/v4/spreadsheets/{spreadsheetId}/values:batchUpdate
spreadsheets
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sheets.googleapis.com//v4/spreadsheets//values:batchUpdate' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
{
"majorDimension": "DIMENSION_UNSPECIFIED",
"range": "string",
"values": [
[
null
]
]
}
],
"includeValuesInResponse": true,
"responseDateTimeRenderOption": "SERIAL_NUMBER",
"responseValueRenderOption": "FORMATTED_VALUE",
"valueInputOption": "INPUT_VALUE_OPTION_UNSPECIFIED"
}'
Response Response Example
{
"responses": [
{
"spreadsheetId": "string",
"updatedCells": 0,
"updatedColumns": 0,
"updatedData": {
"majorDimension": "DIMENSION_UNSPECIFIED",
"range": "string",
"values": [
[
null
]
]
},
"updatedRange": "string",
"updatedRows": 0
}
],
"spreadsheetId": "string",
"totalUpdatedCells": 0,
"totalUpdatedColumns": 0,
"totalUpdatedRows": 0,
"totalUpdatedSheets": 0
}
Request
Path Params
spreadsheetId
string
required
Body Params application/json