Path parameters
-
ID of the resource to return
-
title string
PATCH /brands/{id_or_alias}
curl \
-X PATCH https://api.cosmily.com/api/v1/brands/{id_or_alias} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"id": 1,
"alias": "pasjel",
"title": "PasJel",
"owner": {
"id": 1,
"username": "admin",
"last_active": "2021-10-04T13:24:22.000Z"
},
"created_at": "2021-10-04T13:24:22.000Z",
"updated_at": "2021-11-13T20:23:18.000Z"
}
}
Response examples (200)
{
"data": {
"id": 1,
"alias": "pasjel",
"owner": {
"id": 1,
"username": "admin",
"last_active": "2021-10-04T13:24:22.000Z"
},
"title": "PasJel",
"created_at": "2021-10-04T13:24:22.000Z",
"updated_at": "2021-11-13T20:23:18.000Z"
}
}