curl -X PATCH https://api.crewship.dev/v1/tables/tbl_abc123xyz789/rows \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filter": {
"and": [
{"column": "status", "operator": "eq", "value": "new"}
]
},
"update": {
"status": "qualified"
}
}'
{
"updated": 18
}
Tables
Bulk Update Rows
Update all rows matching a filter
PATCH
/
v1
/
tables
/
{id}
/
rows
curl -X PATCH https://api.crewship.dev/v1/tables/tbl_abc123xyz789/rows \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filter": {
"and": [
{"column": "status", "operator": "eq", "value": "new"}
]
},
"update": {
"status": "qualified"
}
}'
{
"updated": 18
}
Path Parameters
Request
Response
curl -X PATCH https://api.crewship.dev/v1/tables/tbl_abc123xyz789/rows \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"filter": {
"and": [
{"column": "status", "operator": "eq", "value": "new"}
]
},
"update": {
"status": "qualified"
}
}'
{
"updated": 18
}