Update a record
curl --request PUT \
--url https://{host}/ext/api/v1/collections/{collection}/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"status": "confirmed",
"version": 3
}
'const options = {
method: 'PUT',
headers: {
'X-BLUDIA-API-KEY': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({status: 'confirmed', version: 3})
};
fetch('https://{host}/ext/api/v1/collections/{collection}/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/ext/api/v1/collections/{collection}/{id}"
payload = {
"status": "confirmed",
"version": 3
}
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": 101,
"slug": null,
"created_at": "2026-11-20T09:15:00.000000Z",
"updated_at": "2026-11-20T09:15:00.000000Z",
"published_at": "2026-11-20T09:15:00.000000Z",
"children": [],
"title": "Order #101",
"status": "confirmed",
"total": "120.00",
"customer": {
"id": 25,
"label": "Sarah Ahmed"
}
}
}{
"message": "Missing API key."
}{
"error": "permission_denied",
"message": "You do not have [delete] permission on collection [14]."
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"message": "Rate limit exceeded."
}Records
Update a record
Partially updates a record: omitted fields are unchanged, null or empty string clears a field. Send version (or an If-Match header) to get 409 instead of overwriting a newer change. Runs beforeUpdate/afterUpdate hooks. Requires can_update for end users.
PUT
/
collections
/
{collection}
/
{id}
Update a record
curl --request PUT \
--url https://{host}/ext/api/v1/collections/{collection}/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-BLUDIA-API-KEY: <api-key>' \
--data '
{
"status": "confirmed",
"version": 3
}
'const options = {
method: 'PUT',
headers: {
'X-BLUDIA-API-KEY': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({status: 'confirmed', version: 3})
};
fetch('https://{host}/ext/api/v1/collections/{collection}/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/ext/api/v1/collections/{collection}/{id}"
payload = {
"status": "confirmed",
"version": 3
}
headers = {
"X-BLUDIA-API-KEY": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": 101,
"slug": null,
"created_at": "2026-11-20T09:15:00.000000Z",
"updated_at": "2026-11-20T09:15:00.000000Z",
"published_at": "2026-11-20T09:15:00.000000Z",
"children": [],
"title": "Order #101",
"status": "confirmed",
"total": "120.00",
"customer": {
"id": 25,
"label": "Sarah Ahmed"
}
}
}{
"message": "Missing API key."
}{
"error": "permission_denied",
"message": "You do not have [delete] permission on collection [14]."
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"status": false,
"message": "<string>",
"errors": "<unknown>",
"request_id": "<string>"
}{
"message": "Rate limit exceeded."
}Authorizations
ApiKey & BearerAuthApiKey
Path Parameters
Body
application/json
