Update a category (PATCH alias)
curl --request PATCH \
--url https://api.redbark.com/v2/categories/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Redbark-Version: <api-key>' \
--data '
{
"name": "<string>",
"parent": "<string>",
"icon": "<string>",
"color": "<string>",
"position": 1,
"archived": true,
"metadata": {}
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'Redbark-Version': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
parent: '<string>',
icon: '<string>',
color: '<string>',
position: 1,
archived: true,
metadata: {}
})
};
fetch('https://api.redbark.com/v2/categories/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.redbark.com/v2/categories/{id}"
payload = {
"name": "<string>",
"parent": "<string>",
"icon": "<string>",
"color": "<string>",
"position": 1,
"archived": True,
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Redbark-Version": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "cat_8Mn3Pq5rSt7uVw9xYz1aBc",
"object": "category",
"name": "<string>",
"parent": "<string>",
"icon": "<string>",
"color": "<string>",
"position": 123,
"archived": true,
"sources": [
"<string>"
],
"category_count": 123,
"metadata": {},
"livemode": true,
"created": "2026-08-21T09:30:00.000Z",
"updated": "2026-08-21T09:30:00.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Categories
Update a category (PATCH alias)
Rename, recolour, reparent (categories only), reorder or archive.
PATCH
/
categories
/
{id}
Update a category (PATCH alias)
curl --request PATCH \
--url https://api.redbark.com/v2/categories/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Redbark-Version: <api-key>' \
--data '
{
"name": "<string>",
"parent": "<string>",
"icon": "<string>",
"color": "<string>",
"position": 1,
"archived": true,
"metadata": {}
}
'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'Redbark-Version': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
parent: '<string>',
icon: '<string>',
color: '<string>',
position: 1,
archived: true,
metadata: {}
})
};
fetch('https://api.redbark.com/v2/categories/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.redbark.com/v2/categories/{id}"
payload = {
"name": "<string>",
"parent": "<string>",
"icon": "<string>",
"color": "<string>",
"position": 1,
"archived": True,
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Redbark-Version": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "cat_8Mn3Pq5rSt7uVw9xYz1aBc",
"object": "category",
"name": "<string>",
"parent": "<string>",
"icon": "<string>",
"color": "<string>",
"position": 123,
"archived": true,
"sources": [
"<string>"
],
"category_count": 123,
"metadata": {},
"livemode": true,
"created": "2026-08-21T09:30:00.000Z",
"updated": "2026-08-21T09:30:00.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Authorization: Bearer rbk_live_...
The API release your integration is built against, e.g. 2026-10-01.wattle. Required on every request.
Path Parameters
The id of the object.
Example:
"cat_8Mn3Pq5rSt7uVw9xYz1aBc"
Body
application/json
Response
The updated category
Example:
"cat_8Mn3Pq5rSt7uVw9xYz1aBc"
Available options:
category null for a group
Provider category codes this category claims
Children, for a group
Up to 50 string pairs. Set a key to null in an update to unset it.
Show child attributes
Show child attributes
Example:
"2026-08-21T09:30:00.000Z"
Example:
"2026-08-21T09:30:00.000Z"

